Spatial Reference System Selector (SRS Selector)

The spatial reference system selector changes the map’s spatial reference system. Notice: The Selectbox offers the SRS that are defined for the map element.

../../../_images/srs_selector1.png

Configuration

../../../_images/srs_selector_configuration1.png
  • Show label: True, to label the SRS Selector. The default-value is false.

  • Title: Title of the element. The title will be listed in “Layouts” and allows to distinguish between different buttons. It will be indicated if “Show label” is activated.

  • Tooltip: Text to use as tooltip.

  • Target: ID of the Map element to query.

YAML-Definition:

tooltip: 'SRS Selector'  # text to use as tooltip
label: false             # true/false to label the SRS Selector, default is false
target: ~                # Id of the Map element to query

Class, Widget & Style

  • Class: Mapbender\CoreBundle\Element\SrsSelector

  • Widget: mapbender.element.srsselector.js

  • Style: mapbender.elements.css