public GameMapViewModel()
 {
     // Inits resources.
     _geoMathHelper = new WF.Player.Core.Utils.GeoMathHelper();
 }
		public GameMapViewModel()
		{
			// Inits the brushes.
			_polygonFillBrush = new SolidColorBrush(Colors.Cyan) { Opacity = 0.25 };
			_polygonStrokeBrush = new SolidColorBrush(Colors.White);
			_playerPolygonFillBrush = new SolidColorBrush(Colors.White) { Opacity = 0.25 };
			_playerPolygonStrokeBrush = new SolidColorBrush(Colors.Black);

			// Inits the templates.
			_thingPushpinContentTemplate = (DataTemplate)App.Current.Resources["WherigoThingPushpinContentTemplate"];
			_landmarkPushpinContentTemplate = (DataTemplate)App.Current.Resources["LandmarkPushpinContentTemplate"];
			_noBorderButtonTemplate = (ControlTemplate)App.Current.Resources["NoBorderButtonTemplate"];

			// Inits resources.
			_geoMathHelper = new WF.Player.Core.Utils.GeoMathHelper();
		}