ShapeLayer Class |
Namespace: Telogis.GeoBase.ShapeUI
The ShapeLayer type exposes the following members.
Name | Description | |
---|---|---|
ShapeLayer |
Creates a base shapelayer that renders shapes on a map.
|
Name | Description | |
---|---|---|
CurrentMode |
Determines the current layer's mode.
| |
InvalidShape |
Whether the current shape is invalid and needs to be removed (set when changing
states).
| |
Map |
Gets the map that the shaper layer is being rendered on.
| |
RequiredRendermodes |
Determines when the entities will be rendered on the map.
| |
Selection |
Gets and sets the current selected entity.
| |
State |
Used to change the state, and fire any necessary events.
|
Name | Description | |
---|---|---|
AddShape |
Adds a new shape entity to the layer.
| |
Clear |
Removes all entities from the layer.
| |
Dispose |
Disposes of any state and disconnects from the rtree.
| |
Edit |
Edits a specific entity and changes the state to a edit state.
| |
EnterSelectMode |
Changes the state to selection mode without any currently selected entity.
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
FinishEditing |
Selects the previously edited entity and changes the state to a selection state
| |
GetDefaultState |
Returns an IState used to perform default operations.
| |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetSelectState |
Returns an ISelectState used to perform selection related operations.
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
OnMouseClick |
Calls mouse click on the layer's current state.
| |
OnMouseDown |
Calls mouse down on the layer's current state.
| |
OnMouseLeave |
Calls mouse leave (when the mouse leaves the current map space) on the layer's current
state.
| |
OnMouseMove |
Calls mouse move on the layer's current state.
| |
OnMouseUp |
Calls mouse up on the layer's current state.
| |
QueryShapes |
Gets all of the shape entities within the layer.
| |
QueryShapes(BoundingBox) |
Gets all of the shape entities that exist within a specific bounding box.
| |
QueryShapes(IMap) |
Gets all of the shape entities within a map view.
| |
QueryShapes(RTreeRect) |
Gets all of the shape entities that exist within a specific rectangle.
| |
RemoveShape |
Removes a specific shape from the layer if it exists.
| |
Render |
Renders all of the shape entities according to the layer's current mode.
| |
Select |
Selects a specific entity and changes the state to a selection state.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
ModeChanged |
Event that is fired when there is a change to the layer's mode.
| |
RedrawRequired |
Event that is fired when the layer needs to be redrawn.
| |
SelectionChanged |
Event that is fired when which shape is selected changes.
| |
ShapeAdded |
Event that is fired when a shape is added to the layer.
| |
ShapeRemoved |
Event that is fired when a shape is removed from the layer.
|