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.
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
You can overwrite the style of the element, for example the width with the following statement:
.mb-element-scaleselector.dropdown {
width: 200px;
}
None.
None.
None.