Exemple #1
0
 public void EndEdit()
 {
     MapOption   = MapOptionStatus.Pan;
     this.Cursor = mCur_PanUp;
     IsEditing   = false;
     Utils.gislog.ClearLog();
 }
Exemple #2
0
 public void StartEdit(Layer layer)
 {
     if (IsEditing)
     {
         MapOption   = MapOptionStatus.Edit;
         this.Cursor = mCur_Cross;
     }
     else if (layer != null)
     {
         MapOption   = MapOptionStatus.Edit;
         this.Cursor = mCur_Cross;
         RSTransform transform = new RSTransform_WGS84_WEBMOCARTO();//????????????????????????????坐标系问题
         editmanager = new EditingManager(layer, transform);
         IsEditing   = true;
     }
 }
Exemple #3
0
 public void SelectFeatures()
 {
     MapOption   = MapOptionStatus.select;
     this.Cursor = mCur_Cross;
 }
Exemple #4
0
 public void Identify()
 {
     MapOption   = MapOptionStatus.Identify;
     this.Cursor = mCur_Cross;
 }
Exemple #5
0
 public void Pan()
 {
     MapOption   = MapOptionStatus.Pan;
     this.Cursor = mCur_PanUp;
 }
Exemple #6
0
 public void ZoomOut()
 {
     MapOption   = MapOptionStatus.ZoomOut;
     this.Cursor = mCur_ZoomOut;
 }
Exemple #7
0
 public void ZoomIn()
 {
     MapOption   = MapOptionStatus.ZoomIn;
     this.Cursor = mCur_ZoomIn;
 }