15.727
Bearbeitungen
Keine Bearbeitungszusammenfassung |
Keine Bearbeitungszusammenfassung |
||
| Zeile 145: | Zeile 145: | ||
["width"] = args["width"], ["height"] = args["height"], | ["width"] = args["width"], ["height"] = args["height"], | ||
["enablefullscreen"] = "yes", ["resizable"] = "yes"} | ["enablefullscreen"] = "yes", ["resizable"] = "yes"} | ||
-- geojson | -- geojson-Argumente | ||
if wik.pageExists(geojson_fullpagename) then | if wik.pageExists(geojson_fullpagename) then | ||
map_args["geojson"] = geojson_pagename | map_args["geojson"] = geojson_pagename | ||
if #geoobjects > 0 then | if #geoobjects > 0 then | ||
kategorien["Hat geojson und location/lat/lon"] = true | kategorien["Hat geojson und location/lat/lon"] = true | ||
end | end | ||
end | |||
-- location/lat/lon-Argumente | |||
if not (wik.pageExists(geojson_fullpagename) and -- Pin-Anzeige deaktivieren, wenn GeoJson vorhanden | |||
com.isTrue(args["hide_loc_latlon"])) then -- SMW-DB wird trotzdem geschrieben | |||
for _, o in ipairs(geoobjects) do | for _, o in ipairs(geoobjects) do | ||
if o["Geokoordinate"] ~= nil then | if o["Geokoordinate"] ~= nil then | ||