${WP_mapping_ViewBoundsEventArgs_Title}
${WP_mapping_ViewBoundsEventArgs_Exception}
상속: System.EventArgs
예제 #1
0
 void MyMap_ViewBoundsChanged(object sender, ViewBoundsEventArgs e)
 {
     if (!_mapInited && !Rectangle2D.IsNullOrEmpty(e.NewViewBounds))
     {
         _mapInited = true;
         MyMap.ZoomToLevel(8, new Point2D(12969134.4929308, 4863396.19924929));
         _compassFeature = new Feature();
         _compassFeature.Geometry = new GeoPoint(Point2D.Empty);
         CompassMarkerStyle style = new CompassMarkerStyle();
         style.Height = 40;
         style.Width = 30;
         style.Rotation = 0;
         _compassFeature.Style = style;
         _fLayer.AddFeature(_compassFeature);
         _needPan = true;
         _watcher.Start();
     }
 }
예제 #2
0
 void MyMap_ViewBoundsChanged(object sender, ViewBoundsEventArgs e)
 {
     
 }