Example #1
0
        public void ResetMap()
        {
            //Initialize(Conversions.StringToLatLon(_options.locationOptions.latitudeLongitude), (int)_options.locationOptions.zoom);

            _mapVisualizer.UnregisterAllTiles();
            _mapVisualizer.ClearMap();
            _mapVisualizer.ReregisterAllTiles();
        }
Example #2
0
 // TODO: implement IDisposable, instead?
 protected virtual void OnDestroy()
 {
     if (TileProvider != null)
     {
         TileProvider.ExtentChanged -= OnMapExtentChanged;
     }
     _mapVisualizer.ClearMap();
     _mapVisualizer.Destroy();
 }
Example #3
0
 // TODO: implement IDisposable, instead?
 protected virtual void OnDestroy()
 {
     if (TileProvider != null)
     {
         TileProvider.ExtentChanged -= OnMapExtentChanged;
     }
     //if(!_mapVisualizer) _mapVisualizer = ScriptableObject.CreateInstance<MapVisualizer>();
     _mapVisualizer.ClearMap();
     _mapVisualizer.Destroy();
 }