LuciadCPillar C# 2024.1.01
|
This class allows you to interactively edit Features on the Map
.
More...
Classes | |
class | Builder |
Builder for the Editor class. More... | |
Public Member Functions | |
void | Dispose () |
override bool | Equals (object obj) |
override int | GetHashCode () |
Luciad.Controllers.EventResult | OnEvent (Luciad.Input.IInputEvent inputEvent) |
Handles the given event, and returns if the event was handled or not. More... | |
Static Public Member Functions | |
static Luciad.Edit.Editor.Builder | NewBuilder () |
Returns a new builder for creating an Editor . More... | |
Properties | |
Luciad.Layers.Features.FeatureLayer | EditHandleLayer [get] |
The layer that paint IEditHandle s. More... | |
This class allows you to interactively edit Features on the Map
.
See the related guide for an overview of the editing API.
It manages the editing state and provides visualization capabilities by:
IFeatureEditCandidateProvider
) Feature
is being edited, and which handles are used for it IFeatureModel
instances with handles, and keeping them up-to-date LayerList
that can be used to visualize the handle models Editing can be configured using:
Editor.Builder
FeatureLayer.Builder.EditConfiguration
FeatureLayer.Builder.EditCreateGeometryProvider
It is allowed to access this class on the UI thread only. See the related article: Threading rules for the Map
|
inline |
|
inline |
|
inline |
|
inlinestatic |
|
inline |
Handles the given event, and returns if the event was handled or not.
This method delegates the given event to one of the currently available handles. The order in which this event is passed to the handles is determined by the handle's state, and the order in which they are returned from IEditHandles
:
IEditHandles
is used inputEvent | an event, cannot be null . |
System.ArgumentNullException | when null is passed. |
|
get |
The layer that paint IEditHandle
s.
Returns the layer that paint IEditHandle
s. This layer can contain the edit handles of multiple feature layers. The returned layer instance will always be the same, but the layer's model gets updated as edit handles are added, removed or modified.
A controller implementation typically adds this layer to its layer list
, although it can also add this layer to the Map
's layer list
.