Scale Selector

Displays a selctbox with scales. The map scale changes when an value from the selectbox is choosen.

Notice: The Selectbox offers the scales that are defined for the map-Element.

../../../../../_images/scale_selector.png

Configuration

../../../../../_images/scale_selector_configuration.png

YAML-Definition:

tooltip: "Scale"  # text to use as tooltip
target: ~         # Id of Map element to query
label: false      # false/true to label the scale selector, default is false

Class, Widget & Style

  • Class: Mapbender\CoreBundle\Element\ScaleSelector
  • Widget: mapbender.element.scaleselector.js
  • Style: mapbender.elements.css

HTTP Callbacks

None.

JavaScript API

None.

JavaScript Signals

None.

Table Of Contents

Previous topic

Line/Area Ruler

Next topic

ScaleBar

This Page