public void EndEdit() { MapOption = MapOptionStatus.Pan; this.Cursor = mCur_PanUp; IsEditing = false; Utils.gislog.ClearLog(); }
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; } }
public void SelectFeatures() { MapOption = MapOptionStatus.select; this.Cursor = mCur_Cross; }
public void Identify() { MapOption = MapOptionStatus.Identify; this.Cursor = mCur_Cross; }
public void Pan() { MapOption = MapOptionStatus.Pan; this.Cursor = mCur_PanUp; }
public void ZoomOut() { MapOption = MapOptionStatus.ZoomOut; this.Cursor = mCur_ZoomOut; }
public void ZoomIn() { MapOption = MapOptionStatus.ZoomIn; this.Cursor = mCur_ZoomIn; }