MapEditor Members
In This Article
#Properties
Name | Description |
---|---|
Active |
Gets or sets a collection of map items with which end-users can interact to change them. |
Active |
Returns the layer that the Map Editor uses to store newly created map items. |
Allow |
Gets or sets the value specifying whether the Map control saves an end-user’s actions performed while editing the map. |
Available |
Returns transformations that a user can apply to map items. |
Can |
Checks whether the “Redo” action can be performed for the edited map items. |
Can |
Gets or sets the value defining whether it is possible to remove items on the map. |
Can |
Checks whether the “Undo” action can be performed for the edited map items. |
Edit |
Returns the Map Editor mode that is currently activated. |
Panel |
Returns the Map Editor panel’s options. |
Show |
Specifies whether the map editor’s panel is displayed. |
#Methods
Name | Description |
---|---|
Clear |
Clears all the saved actions. |
Copy |
Copies the specified map items to the target layer. |
Create |
Creates an item of the specified type at the defined screen point. |
Dispose() |
Disposes of the current object.
Inherited from Map |
Equals |
Determines whether the specified object instances are considered equal. Inherited from Object. |
Equals |
Determines whether the specified object is equal to the current object. Inherited from Object. |
Finish |
Finishes the current edit or create operation. |
Get |
Serves as the default hash function. Inherited from Object. |
Get |
Gets the Type of the current instance. Inherited from Object. |
Insert |
Inserts a new point to a map item’s contour. |
Insert |
Inserts a new point to a map item’s contour. |
Memberwise |
Creates a shallow copy of the current Object. Inherited from Object. |
Redo() | Repeats the last undone action. |
Reference |
Determines whether the specified Object instances are the same instance. Inherited from Object. |
Remove |
Removes a map item’s contour point. |
Remove |
Removes the specified items. |
Reset |
Resets the Map Editor‘s edit mode (sets the Edit |
Rotate |
Rotates the items at the specified angle. |
Scale |
Scales the map items. |
Scale |
Scales the map items. |
Set |
Enables the Map Editor‘s Create mode. In this mode, you can create map items of the specified type. |
Set |
Sets the mode that allows end users to edit map items. |
Set |
Enables the Map Editor‘s Transformation mode. In this mode, you can transform map items. |
Simplify |
Reduces the number of vertices that form the vector layer’s items with the specified simplification algorithm and tolerance. |
Simplify |
Reduces the number of vertices that form the vector layer’s items with specified tolerance. |
To |
Returns the textual representation of the Map |
Translate |
Translates items at the specified offset. |
Undo() | Undoes the last edit action. |
Update |
Updates a map item’s contour point coordinates. |
Update |
Updates a map item’s contour point coordinates. |
#Events
Name | Description |
---|---|
Map |
Occurs when a map item’s creation is started. |
Map |
Occurs when the Map Editor is used to add, edit or remove a map item. |
Map |
Occurs when a user stars to edit a map item. |
See Also