Beispiel #1
0
 /// <summary>
 /// Provides a deterministic way to create the GeoDataStatic property.
 /// </summary>
 public static void CreateGeoDataMap()
 {
     if (_geoDataMap == null)
     {
         _geoDataMap = new GeoDataMapViewModel(new GeoDataModel());
     }
 }
Beispiel #2
0
 /// <summary>
 /// Provides a deterministic way to delete the GeoDataStatic property.
 /// </summary>
 public static void ClearGeoDataMap()
 {
     _geoDataMap.Cleanup();
     _geoDataMap = null;
 }