LuciadCPillar C# 2023.1.04
|
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 () |
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] |
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: tracking edit candidates (IFeatureEditCandidateProvider) tracking which Feature is being edited, and which handles are used for it creating IFeatureModel instances with handles, and keeping them up-to-date providing a 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 2020.1
|
inline |
|
inlinestatic |
Returns a new builder for creating an Editor.
a new builder for creating an Editor.
|
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: Active handles have priority over Highlighted handles, and Highlighted handles have priority over Inactive handles. If multiple handles have the same state, the order in which they are returned from IEditHandles is used
inputEvent
an event, cannot be nullptr.
if the event was consumed or not
NullArgumentException
when nullptr is passed.
|
get |