Whether to show or hide the queryable list of layers. It is shown only
when a tool requires it, which is managed in the gmf-objecteditingtools
component.
The state of the feature determines whether the next 'save' request should be an 'insert' or 'update' one.
Init the controller
Delete the feature after asking for a confirmation.
Called after a delete request.
Ajax response.
Called after an 'insert' or 'update' request.
Ajax response.
Called when the geometry property of the feature changes, i.e. not when the geometry itself changes but when a new geometry is set to the feature.
This happens either when resetting the geometry to null, in which case
there's nothing to do here. Otherwise, it happens after the combinaison
of a sketch geometry with the existing feature geometry. This new geom
is pushed in the geometryChanges_
array.
List of queryable layers information, which contains the node and ogcServer.
Called after the modification interaction has completed modifying the
existing geometry. The new geometry is pushed in the changes array.
If the geometry type is MultiPolygon
, we check if any of the inner
geometries intersects with one an other first. Those that does are merged
before being pushed to the changes.
Event.
Called when a feature is added to the collection of sketch features. Depending on the current behaviour, use the added sketch feature to process the existing geometry.
Event.
Called before the window unloads. Show a confirmation message if there are unsaved modifications.
Event.
Message
Initialize interactions by setting them inactive and decorating them
Hash of style.
Color.
Whether the state is INSERT or not.
Refresh the WMS layer, if set.
Register interactions by adding them to the map
Registers a newly added Layertree controller 'leaf', i.e. groups are excluded.
If the Layertree controller node id is equal to the layerNodeId
configured
with this component, then find the WMS layer associated with it for
for refresh purpose.
Layertree controller to register
Reset the array of geometry changes. If there are more than one changes, reset them entirely. Then, if there's no changes, clone the current geometry as the first entry. One entry means that there's no changes.
Save the current modifications.
Set the style of the feature depending on:
Activate or deactivate this component.
Whether to activate this component or not.
Undo the latest modifications.
Undo all current changes.
Unregisters all currently registered Layertree controllers.
Unset the WMS layer associated with the layerNodeId
configured with
this component.
Unregister interactions, i.e. remove them from the map
Generated using TypeDoc
Flag that is toggled while a request is pending.