gluon-config-mode-geo-location-with-map: map max zoom fi position present
This commit is contained in:
parent
7abfeaab41
commit
cc5e447c03
@ -25,6 +25,9 @@ return function(form, uci)
|
|||||||
end
|
end
|
||||||
|
|
||||||
local function site_zoom()
|
local function site_zoom()
|
||||||
|
if uci_longitude ~= nil and uci_latitude ~= nil then
|
||||||
|
return 18
|
||||||
|
end
|
||||||
return site.config_mode.geo_location.map.zoom(12)
|
return site.config_mode.geo_location.map.zoom(12)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user