Esempio n. 1
0
 public MapViewController(IMapView map_view, ILayersView layers_view,IGMap map)
 {
     this._mapView = map_view;
     this._layersView = layers_view;
     this._map = map;
     this._layersView.SetMapBuddy(map_view.GetMapObject());
     this._map.SetHook(map_view.GetMapObject());
 }
 public void SetActiveMap(IMapView view, Point center, int zoomLevel)
 {
     _mapView = view;
     if (_mapView != null)
     {
         _map = (MapView) _mapView.GetMapObject();
         SetupMap(_map, center, zoomLevel);
     }
 }
Esempio n. 3
0
 public void SetActiveMap(IMapView view, Point center, int zoomLevel)
 {
     _mapView = view;
     if (_mapView != null)
     {
         _map = (MapView)_mapView.GetMapObject();
         SetupMap(_map, center, zoomLevel);
     }
 }