sdi_srschanger
This bundle provides a widget to display and change the map's spatial reference system (SRS).
It has the widget role sdi_srschanger
. In the map.apps seasons template it is placed in the app's footer by default.
Usage
The list of available spatial reference systems must be configured. An overview of supported system can be found in the Coordinatetransformer bundle. See below for configuration instructions.
Configuration Reference
Property | Type | Mandatory | Description |
---|---|---|---|
srsList |
Array of numbers | yes | An array of numbers that specify the available SRS to be selected from. |
The following sample shows how this configuration is adjusted in the app.json:
"sdi_srschanger": {
"Config": {
"srsList": [4326, 3857]
}
}