A newer version of this page is available. Switch to the current version.

MapEditor Members

The Map Editor that allows end users to edit map vector items.

Properties

Name Description
ActiveItems Gets or sets a collection of map items with which end-users can interact to change them.
ActiveLayer Returns the layer that the Map Editor uses to store newly created map items.
AllowSaveActions Gets or sets the value specifying whether the Map control saves an end-user's actions performed while editing the map.
CanRedo Checks whether the "Redo" action can be performed for the edited map items.
CanRemoveItems Gets or sets the value defining whether it is possible to remove items on the map.
CanUndo Checks whether the "Undo" action can be performed for the edited map items.
PanelOptions Returns the Map Editor panel's options.
ShowEditorPanel Specifies whether the map editor's panel is displayed.

Methods

Name Description
ClearSavedActions() Clears all the saved actions.
CopyItems(IEnumerable<MapItem>, VectorItemsLayer) Copies the specified map items to the target layer.
CreateItem(CreatableMapItemKind, MapPoint) Creates an item of the specified type at the defined screen point.
Dispose() Disposes of the current object. Inherited from MapDisposableObject.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
FinishItem() Finishes the current edit or create operation.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
InsertItemPoint(IEditableItem, CoordPoint, Int32, Int32) Inserts a new point to a map item's contour.
InsertItemPoint(IEditableItem, MapPoint, Int32, Int32) Inserts a new point to a map item's contour.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
Redo() Repeats the last undone action.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
RemoveItemPoint(IEditableItem, Int32, Int32) Removes a map item's contour point.
RemoveItems(IEnumerable<MapItem>) Removes the specified items.
ResetEditMode() Resets the Map Editor's edit mode.
RotateItems(IEnumerable<MapItem>, Double) Rotates the items at the specified angle.
ScaleItems(IEnumerable<MapItem>, Double, Double, MapPoint) Scales the map items.
ScaleItems(IEnumerable<MapItem>, Double, Double, TransformOrigin) Scales the map items.
SetCreateMode(CreatableMapItemKind) Enables the Map Editor's Create mode that allows creating items of the specified type.
SetEditMode() Sets the mode that allows end users to edit map items.
SetTransformMode(MapItemTransform) Enables the Map Editor's Transformation mode that allows applying the specified transformation to the map items.
SimplifyItems(ShapeSimplifierBase, IEnumerable<MapItem>, Double) Reduces the number of vertices that form the vector layer's items with the specified simplification algorithm and tolerance.
SimplifyItems(IEnumerable<MapItem>, Double) Reduces the number of vertices that form the vector layer's items with specified tolerance.
ToString() Returns the textual representation of the MapEditor.
TranslateItems(IEnumerable<MapItem>, Double, Double) Translates items at the specified offset.
Undo() Undoes the last edit action.
UpdateItemPoint(IEditableItem, CoordPoint, Int32, Int32) Updates a map item's contour point coordinates.
UpdateItemPoint(IEditableItem, MapPoint, Int32, Int32) Updates a map item's contour point coordinates.

Events

Name Description
MapItemCreating Occurs when a map item's creation is started.
MapItemEdited Occurs when map items have been edited or transformed using the Map Editor.
MapItemEditing Occurs when a user stars to edit a map item.
See Also