-
Notifications
You must be signed in to change notification settings - Fork 42
Wegue configuration
Christian Mayer edited this page May 20, 2020
·
10 revisions
This describes the Wegue application configuration, which is modelled as JSON document.
| Property | Mandatory | Meaning | Example |
|---|---|---|---|
| title | Title shown in the top toolbar | "title": "A Wegue WebGIS App" |
|
| baseColor | Main colour of the UI elements |
"baseColor": "red darken-3" or "baseColor": "#ff3388"
|
|
| logo | URL to an image shown as application logo | "logo": "https://dummyimage.com/100x100/aaa/fff&text=Wegue" |
|
| logoSize | Size of the application logo defined in logo
|
"logoSize": "100" |
|
| footerTextLeft | Text or HTML string to be displayed in the left side of the toolbar | "footerTextLeft": "Powered by <a href='https://meggsimum.de/wegue/' target='_blank'>Wegue WebGIS</a>" |
|
| footerTextRight | Text or HTML string to be displayed in the right side of the toolbar | "footerTextRight": "meggsimum" |
|
| showCopyrightYear | Boolean value, whether the copyright year should be shown on the right side of the toolbar |
"showCopyrightYear": true or "showCopyrightYear": false
|
|
| mapZoom | x | Initial zoom level of the map | "mapZoom": 2 |
| mapCenter | x | Initial center of the map in map projection | "mapCenter": [0, 0] |
| mapProjection | Configuration object for CRS / projection used for the map | ||
| modules | x | Array of module configuration objects | |
| mapLayers | x | Array of map layer configuration objects | |
| projectionDefs | Array of CRS / projection definition objects compatible to proj4js | ||
| tileGridDefs | Array of tile grid definition objects |
TODO