Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Controller

Index

Properties

active

active: boolean

attributes

attributes: Attribute[]

closeAfterSave

closeAfterSave: boolean
export

confirmDeferred_

confirmDeferred_: IDeferred<never>

A deferred object resolved after the confirm modal "continue w/o saving" or "save" buttons are clicked.

createActive

createActive: boolean

createToolActivate

createToolActivate: default

dirty

dirty: boolean

Flag that is toggled as soon as the feature changes, i.e. if any of its properties change, which includes the geometry.

editableNode_

editableNode_: any

editableTreeCtrl

editableTreeCtrl: LayertreeController

editableWMSLayer_

editableWMSLayer_: TileLayer<TileSource> | ImageLayer<ImageSource>

element_

element_: JQuery<HTMLElement>

feature

feature: Feature<Geometry>

featureId

featureId: string | number

features

features: Collection<Feature<Geometry>>

geomListenerKeys_

geomListenerKeys_: EventsKey[]

geomType

geomType: string

gettextCatalog_

gettextCatalog_: gettextCatalog

gmfEditFeature_

gmfEditFeature_: any

gmfSnapping_

gmfSnapping_: any

gmfXSDAttributes_

gmfXSDAttributes_: any

highlightVectorLayer_

highlightVectorLayer_: VectorLayer<VectorSource<Geometry>>

highlightedFeatures_

highlightedFeatures_: Collection<Feature<Geometry>>

hightlightedFeatures_

hightlightedFeatures_: Collection<Feature<Geometry>>

interactions_

interactions_: Collection<Interaction>

listenerKeys_

listenerKeys_: EventsKey[]

map

map: Map

mapListenerKeys_

mapListenerKeys_: EventsKey[]

mapSelectActive

mapSelectActive: boolean

mapSelectToolActivate

mapSelectToolActivate: default

menuMultipleListenerKeys_

menuMultipleListenerKeys_: EventsKey[]

menuMultiple_

menuMultiple_: any

menuVertex_

menuVertex_: default

menu_

menu_: default

modifyToolActivate

modifyToolActivate: default

modify_

modify_: Modify

ngeoEventHelper_

ngeoEventHelper_: EventHelper

ngeoFeatureHelper_

ngeoFeatureHelper_: FeatureHelper

ngeoLayerHelper_

ngeoLayerHelper_: LayerHelper

ngeoToolActivateMgr_

ngeoToolActivateMgr_: ToolActivateMgr

options_

options_: any

pending

pending: boolean

Flag that is toggled while a request is pending, either one to get features when a map is clicked or when saving

q_

q_: IQService

rotateToolActivate

rotateToolActivate: default

rotate_

rotate_: default

scope_

scope_: IScope

serverErrorMessage

serverErrorMessage: string

serverErrorType

serverErrorType: string

showServerError

showServerError: boolean

state

state: string

The state property shared with the gmf-editfeatureselector directive. For more info, see in that directive.

timeout_

timeout_: ITimeoutService

tolerance

tolerance: number

translateToolActivate

translateToolActivate: default

translate_

translate_: default

unsavedModificationsModalShown

unsavedModificationsModalShown: boolean

Flag that controls the visibility of the modal that manages unsaved modifications.

vectorLayer

vectorLayer: VectorLayer<VectorSource<Geometry>>

vertexInfo_

vertexInfo_: number[]

Methods

$onInit

  • $onInit(): void

cancel

  • cancel(): void

checkForModifications_

  • checkForModifications_(scopeApply: boolean): IPromise<void>
  • Check if there's a feature selected and if it contains modifications (a.k.a. is dirty), then the confirmation modal is shown.

    Parameters

    • scopeApply: boolean

    Returns IPromise<void>

    The promise attached to the confirm deferred object.

confirmCancel

  • confirmCancel(): IPromise<void>
  • Check if there are unsaved modifications. If there aren't, then cancel. Used by the 'cancel' button in the template.

    Returns IPromise<void>

    The promise attached to the confirm deferred object.

continueWithoutSaving

  • continueWithoutSaving(): void

delete

  • delete(): void

handleDestroy_

  • handleDestroy_(): void

handleEditFeature_

  • handleEditFeature_(resp: IHttpResponse<string | Node | Document | ArrayBuffer>): void
  • Called after an insert, update or delete request.

    Parameters

    • resp: IHttpResponse<string | Node | Document | ArrayBuffer>

      Ajax response.

    Returns void

handleFeatureAdd_

  • handleFeatureAdd_(evt: BaseEvent | Event): void

handleFeatureChange_

  • handleFeatureChange_(newFeature: Feature<Geometry>, oldFeature: Feature<Geometry>): void

handleFeatureGeometryChange_

  • handleFeatureGeometryChange_(): void

handleFeaturePropertyChange_

  • handleFeaturePropertyChange_(): void

handleGetFeatures_

  • handleGetFeatures_(coordinate: number[], features: Feature<Geometry>[]): void

handleMapClick_

  • handleMapClick_(evt: BaseEvent | Event): void
  • Called when the map is clicked.

    (1) If a vector feature was clicked, don't do anything (i.e. allow the interactions to do their bidings without selecting a new feature).

    (2) Otherwise, if there is a feature being edited and has unsaved modifications, show the confirmation modal asking the user what to do about it.

    (3) If there's no feature selected or we have one without unsaved modifications or with modifications that were canceled, launch a query to fetch the features at the clicked location.

    Parameters

    • evt: BaseEvent | Event

      Event.

    Returns void

handleMapContextMenu_

  • handleMapContextMenu_(evt: BaseEvent | Event): void

handleMapSelectActiveChange_

  • handleMapSelectActiveChange_(active: boolean): void

handleMenuActionClick_

  • handleMenuActionClick_(evt: BaseEvent | Event): void

handleMenuMultipleActionClick_

  • handleMenuMultipleActionClick_(features: Feature<Geometry>[], evt: BaseEvent | Event): void
  • Handles the click on element in the feature menu In the call the parameters are in inverse order!

    Parameters

    • features: Feature<Geometry>[]

      Features.

    • evt: BaseEvent | Event

      Event.

    Returns void

handleMenuVertexActionClick_

  • handleMenuVertexActionClick_(evt: BaseEvent | Event): void

handleMultiMenuActionMouseEnter_

  • handleMultiMenuActionMouseEnter_(features: Feature<Geometry>[], evt: BaseEvent | Event): void
  • Handles mouse entering a menu item of the multiple feature menu

    Parameters

    • features: Feature<Geometry>[]

      Features.

    • evt: BaseEvent | Event

      Event.

    Returns void

handleMultiMenuActionMouseOut_

  • handleMultiMenuActionMouseOut_(): void

handleRotateEnd_

  • handleRotateEnd_(evt: BaseEvent | Event): void

handleTranslateEnd_

  • handleTranslateEnd_(evt: BaseEvent | Event): void

initializeInteractions_

  • initializeInteractions_(): void

openFeatureMenu_

  • openFeatureMenu_(coordinate: number[], features: Feature<Geometry>[]): void

registerInteractions_

  • registerInteractions_(): void

save

  • save(): void

setAttributes_

  • setAttributes_(attributes: Attribute[]): void

setFeature_

  • setFeature_(feature: Feature<Geometry>): void

submit

  • submit(): void
  • Called when the modal 'save' button is clicked. Do as if the user had clicked on the 'save' input button in the form, which allows the form to be validated.

    Returns void

toggle_

  • toggle_(active: boolean): void

unregisterInteractions_

  • unregisterInteractions_(): void

Generated using TypeDoc