/// <summary> /// loads map-related user settings from isolated storage /// </summary> public void Load() { if (IsolatedStorageSettings.ApplicationSettings.Contains(ID_MAPSETTINGS)) { MapSettings = IsolatedStorageSettings.ApplicationSettings[ID_MAPSETTINGS] as SettingsMap; } }
protected IsoManager() { MapSettings = new SettingsMap() { ZoomLevel = 10d, Coordinate = new GeoCoordinate(0, 0) }; }
/// <summary> /// loads map-related user settings from isolated storage /// </summary> public void Load() { if (IsolatedStorageSettings.ApplicationSettings.Contains(ID_MAPSETTINGS)) MapSettings = IsolatedStorageSettings.ApplicationSettings[ID_MAPSETTINGS] as SettingsMap; }