Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Controller

Index

Properties

element_

element_: JQuery<HTMLElement>

featureHelper_

featureHelper_: FeatureHelper

features

features: Collection<Feature<Geometry>>

formats_

formats_: string[]

id_

id_: string

items_

items_: JQuery<HTMLElement>[]

menu_

menu_: JQuery<HTMLElement>

Methods

handleDestroy_

  • handleDestroy_(): void

handleElementClick_

  • handleElementClick_(): void
  • Called when the element bound to this directive is clicked. Use the feature helper to export the feature(s) depending on the format(s) available(s). If there's only one, the call to the export method is direct, otherwise a drop-down menu is show to let the user choose the format of the export. Finally, if there's only one feature in the collection to export and there's more than one format set, some formats may not support the type of geometry. If that's the case, then disable each format item in the drop-down menu that doesn't support the type of geometry.

    Returns void

handleMenuItemClick_

  • handleMenuItemClick_(format: string, event: Event): void

Generated using TypeDoc