Class: component_ component:gmfBackgroundlayerselector

gmf.backgroundlayerselector.component.component_

new component_()

Provide a "background layer selector" component.

Example:

 <gmf-backgroundlayerselector
   gmf-backgroundlayerselector-map="::ctrl.map"
   gmf-backgroundlayer-opacity-options="::ctrl.bgOpacityOptions"
   gmf-backgroundlayerselector-select="onBackgroundSelected()">
 </gmf-backgroundlayerselector>

Used UI metadata:

  • thumbnail: The URL used for the icon.
HTML attributes:
Name Type Attributes Description
gmf-backgroundlayerselector-map ol.Map <optional>
The map.
gmf-backgroundlayer-opacity-options string The opacity slider options.
gmf-backgroundlayerselector-select function Function called when a layer was selected by the user.