Called when the active property of the this directive changes. Manage
the activation/deactivation accordingly (event management, etc.)
Parameters
active: boolean
Whether the directive is active or not.
Returns void
handleFeaturesAdd_
handleFeaturesAdd_(evt): void
Parameters
evt: Event | BaseEvent
Event.
Returns void
handleFeaturesRemove_
handleFeaturesRemove_(evt): void
Parameters
evt: Event | BaseEvent
Event.
Returns void
handleMapClick_
handleMapClick_(evt): void
Parameters
evt: Event | BaseEvent
Event.
Returns void
handleMapContextMenu_
handleMapContextMenu_(evt): void
Parameters
evt: Event | BaseEvent
Event.
Returns void
handleMapInteractionsAdd_
handleMapInteractionsAdd_(evt): void
Parameters
evt: Event | BaseEvent
Event.
Returns void
handleMapSelectActiveChange_
handleMapSelectActiveChange_(active): void
Called when the mapSelectActive property changes.
Parameters
active: boolean
Whether the map select is active or not.
Returns void
handleMapTouchEnd_
handleMapTouchEnd_(evt): void
Parameters
evt: Event | BaseEvent
Event.
Returns void
handleMapTouchStart_
handleMapTouchStart_(evt): void
Parameters
evt: Event | BaseEvent
Event.
Returns void
handleMenuActionClick_
handleMenuActionClick_(vertexInfo, evt): void
Parameters
vertexInfo: number[]
Vertex information, in case a
vertex was clicked using the right button.
evt: Event | BaseEvent
Event.
Returns void
handleRotateEnd_
handleRotateEnd_(evt): void
Parameters
evt: Event | BaseEvent
Event.
Returns void
handleTranslateEnd_
handleTranslateEnd_(evt): void
Parameters
evt: Event | BaseEvent
Event.
Returns void
initializeInteractions_
initializeInteractions_(): void
Initialize interactions by setting them inactive and decorating them
Returns void
registerInteractions_
registerInteractions_(): void
Register interactions by adding them to the map
Returns void
removeFeature
removeFeature(feature): void
Parameters
feature: Feature<Geometry>
The feature to remove from the selection.
Returns void
selectFeatureFromList
selectFeatureFromList(feature): void
Method called when a selection occurs from the list, i.e. when an item in
the list of features is clicked. Called from the template, so no need to
update Angular's scope.
Flag used to determine whether the selection of a feature was made from the selection of an item from the list or not (the map, contextual menu, etc.)