Geomap: Base layer server configuration (#37041)

This commit is contained in:
Eunice Kim
2021-07-21 08:54:05 -07:00
committed by GitHub
parent ec9a587cbe
commit 3b0d7fc00b
6 changed files with 59 additions and 0 deletions
@@ -1672,3 +1672,26 @@ Used as the default time zone for user preferences. Can be either `browser` for
### enabled
Set this to `false` to disable expressions and hide them in the Grafana UI. Default is `true`.
## [geomap]
This section controls the defaults settings for Geomap Plugin.
### default_baselayer
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
}
}`
```
### disable_custom_baselayers
Set this to `true` to disable loading other custom base maps and hide them in the Grafana UI. Default is `false`.