Geomap: default basemap config cleanup (#37069)

This commit is contained in:
Ryan McKinley
2021-07-21 13:48:20 -07:00
committed by GitHub
parent f26f76df5a
commit e604e69d93
13 changed files with 91 additions and 92 deletions
+9 -9
View File
@@ -1677,21 +1677,21 @@ Set this to `false` to disable expressions and hide them in the Grafana UI. Defa
This section controls the defaults settings for Geomap Plugin.
### default_baselayer
### default_baselayer_config
The json config used to define the default base map. Four base map options to choose from are `carto`, `esriXYZTiles`, `xyzTiles`, `standard`.
For example, to set cartoDB light as the default base layer:
```ini
geomap_default_baselayer = `{
"type": "carto",
"config": {
"theme": "light",
"showLabels": true
}
}`
default_baselayer_config = `{
"type": "xyz",
"config": {
"attribution": "Open street map",
"url": "https://tile.openstreetmap.org/{z}/{x}/{y}.png"
}
}`
```
### disable_custom_baselayers
### enable_custom_baselayers
Set this to `true` to disable loading other custom base maps and hide them in the Grafana UI. Default is `false`.