Modul:Karte/Work: Unterschied zwischen den Versionen

keine Bearbeitungszusammenfassung
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
table.insert(map_args, "") -- dummy / keine location
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
else
end
-- location/lat/lon
-- 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