Geomap: default basemap config cleanup (#37069)
This commit is contained in:
@@ -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`.
|
||||
Reference in New Issue
Block a user