Module: webgis4u/ol/util/getMapChildElementByClassName

Methods

(static) getMapChildElementByClassName(options) → {HTMLElement|null}

Retruns an element selected by its class name
Parameters:
Name Type Description
options GetMapChildElementByClassNameOptions The options
Source:
Returns:
The first HTML element that fits the class selector or null
Type
HTMLElement | null

Type Definitions

GetMapChildElementByClassNameOptions

Type:
  • object
Properties:
Name Type Description
map ol.Map The map
className string The class name
Source: