a8d736ac7b
gluon-config-mode-geo-location-osm extends the gluon-config-mode-geo-location with a location picker based on OpenStreetMaps. Based-on-patch-by: Jan-Tarek Butt <tarek@ring0.de>
5 lines
318 B
Lua
5 lines
318 B
Lua
need_number(in_site({'config_mode', 'geo_location', 'osm', 'center', 'lon'}))
|
|
need_number(in_site({'config_mode', 'geo_location', 'osm', 'center', 'lat'}))
|
|
need_number(in_site({'config_mode', 'geo_location', 'osm', 'zoom'}), false)
|
|
need_string(in_site({'config_mode', 'geo_location', 'osm', 'openlayers_url'}), false)
|