18.295
Bearbeitungen
(zeileGeoDaten() verwendet geoobjects) |
(fix zeileGeoDaten()) |
||
| Zeile 103: | Zeile 103: | ||
local t = "" | local t = "" | ||
if fbdata.geoobjects ~= nil then | if fbdata.geoobjects ~= nil then | ||
for _, o in ipairs(fbdata.geoobjects) do | |||
if o["Geokoordinate"] ~= nil then | |||
if t ~= "" then | |||
t = t .. ",<br>" | t = t .. ",<br>" | ||
end | end | ||
t = t .. geo.osmLink(fbdata.frame, o["Geokoordinate"]) | t = t .. geo.osmLink(fbdata.frame, o["Geokoordinate"]) | ||
end | end | ||
end | |||
if fbdata.geoobjects.geojson.exists then | |||
if t ~= "" then | |||
t = t .. ",<br>" | |||
end | end | ||
t = t .. "</dd>" | t = t .. "[[" .. fbdata.geoobjects.geojson.fullpagename .. "|GeoJson-Karte]]" | ||
end | |||
if t ~= "" then | |||
t = "<dt>Geo-Daten</dt><dd>" .. t .. "</dd>" | |||
end | end | ||
end | end | ||