Module: GroupPopupByLayer

Members

currentFeature

Setting the current feature popup

Source:

currentLayer

Setting the current feature layer

Source:

currentLayerState :object

Returns the current layer state

Type:
  • object
Source:

features :NodeList

Returns a list of all the html features popups

Type:
  • NodeList
Source:

selectedFeatureIndex :number

Returns the index of the current selected feature

Type:
  • number
Source:

totalCurrentLayerFeatures :number

Return the total number of features for the current layer

Type:
  • number
Source:

Methods

_componentUI() → {void}

Conditionally adjusts component elements after template rendering

Source:
Returns:
Type
void

_displayLayerFeature() → {void}

Display the current select feature popup

Source:
Returns:
Type
void

_hideFeatures() → {void}

Hides all popups

Source:
Returns:
Type
void

_highlightFeatures() → {void}

Highlights the current feature geometry on map, if any. If no specific feature is selected, highlights all geometries.

Source:
Returns:
Type
void

_render(firstRender) → {void}

Renders the main template and performs side operations on user interface

Parameters:
Name Type Default Description
firstRender boolean false

true if is called from the connectedCallback method

Source:
Returns:
Type
void