Esempio n. 1
0
 public void showZoom(string zoom)
 {
     if (this.mapZoomedHandler != null)
     {
         ArcMapEvent arcMapEvent = new ArcMapEvent();
         int.TryParse(zoom, out arcMapEvent.zoom);
         this.mapZoomedHandler(arcMapEvent);
     }
 }
Esempio n. 2
0
 public void showLonLat(string lon, string lat)
 {
     if (this.mapMovingHandler != null)
     {
         ArcMapEvent arcMapEvent = new ArcMapEvent();
         double.TryParse(lon, out arcMapEvent.lon);
         double.TryParse(lat, out arcMapEvent.lat);
         this.mapMovingHandler(arcMapEvent);
     }
 }