diff --git a/docs/package/gluon-config-mode-geo-location.rst b/docs/package/gluon-config-mode-geo-location.rst index 6ca99850..ea55e1f7 100644 --- a/docs/package/gluon-config-mode-geo-location.rst +++ b/docs/package/gluon-config-mode-geo-location.rst @@ -55,7 +55,7 @@ config_mode.geo_location.map.zoom \: optional config_mode.geo_location.map.openlayers_js_url \: optional - ``url`` set an URL for OpenStreetMap layers. - - defaults to ``http://dev.openlayers.org/OpenLayers.js`` + - defaults to ``https://openlayers.org/api/OpenLayers.js`` Example:: diff --git a/package/gluon-config-mode-geo-location/src/0400-geo-location.lua.in b/package/gluon-config-mode-geo-location/src/0400-geo-location.lua.in index 9163a77c..65e1c41c 100644 --- a/package/gluon-config-mode-geo-location/src/0400-geo-location.lua.in +++ b/package/gluon-config-mode-geo-location/src/0400-geo-location.lua.in @@ -32,7 +32,7 @@ return function(form, uci) end local function show_olurl() - return site.config_mode.geo_location.map.openlayers_js_url('http://dev.openlayers.org/OpenLayers.js') + return site.config_mode.geo_location.map.openlayers_js_url('https://openlayers.org/api/OpenLayers.js') end #endif @@ -63,7 +63,11 @@ return function(form, uci) text = text .. [[ - +