Class: backgroundlayerselectorComponent component:gmfBackgroundlayerselector

gmf.backgroundlayerselectorComponent

new backgroundlayerselectorComponent()

Provide a "background layer selector" component.

Example:

 <gmf-backgroundlayerselector
   gmf-backgroundlayerselector-dimensions="::ctrl.dimensions"
   gmf-backgroundlayerselector-map="::ctrl.map"
   gmf-backgroundlayerselector-select="onBackgroundSelected()">
 </gmf-backgroundlayerselector>

Used UI metadata:

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