Modul:Grundstück/Work: Unterschied zwischen den Versionen

Aus FürthWiki

keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
Zeile 152: Zeile 152:
local zoom = o["Zoomlevel"]
local zoom = o["Zoomlevel"]
if location ~= nil then -- location-Liste mergen
if location ~= nil then -- location-Liste mergen
if fbdata.pargs["location"] == nil then
if fbdata.pargs["locationlist"] == nil then
fbdata.pargs["location"] = location
fbdata.pargs["locationlist"] = location
else
else
fbdata.pargs["location"] =
fbdata.pargs["locationlist"] =
fbdata.pargs["location"] .. ";" .. location
fbdata.pargs["locationlist"] .. ";" .. location
end
end
fbdata.pargs["location"] = fbdata.pargs["location"] .. location
end
end
if fbdata.pargs["geojson"] == nil and geojson ~= nil then -- GeoJson 1x übernehmen. Sind eh alle gleich
if fbdata.pargs["geojson"] == nil and geojson ~= nil then -- GeoJson 1x übernehmen. Sind eh alle gleich