new widgetComponent_()
Provides a component which encapsulates the elevation component (see above) in a button with dropdown menu to be included in a application directly.
Example:
HTML attributes:
Name | Type | Description |
---|---|---|
gmf-elevationwidget-map |
ol.Map | The map. |
gmf-elevationwidget-layers |
Array:.<string:> | The list of layers. |
gmf-elevationwidget-active |
boolean | Whether to activate the elevation component. |