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

View File

@ -259,6 +259,8 @@ func (hs *HTTPServer) getFrontendSettingsMap(c *models.ReqContext) (map[string]i
"caching": map[string]bool{
"enabled": hs.Cfg.SectionWithEnvOverrides("caching").Key("enabled").MustBool(true),
},
"geomapDefaultBaseLayer": hs.Cfg.DefaultBaseLayer,
"geomapDisableCustomBaseLayer": hs.Cfg.DisableCustomBaseLayers,
}
return jsonObj, nil