Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Controller

Index

Properties

element_: JQuery<HTMLElement>
featureHelper_: FeatureHelper
features: Collection<Feature<Geometry>>
formats_: string[]
id_: string
items_: JQuery<HTMLElement>[]
menu_: JQuery<HTMLElement>

Methods

  • handleDestroy_(): void
  • 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_(format: string, event: Event): void

Generated using TypeDoc