15.381
Bearbeitungen
Keine Bearbeitungszusammenfassung |
Keine Bearbeitungszusammenfassung |
||
| Zeile 69: | Zeile 69: | ||
local subobject_entry = {} | local subobject_entry = {} | ||
subobject_entry["Geokoordinate"] = geocode | subobject_entry["Geokoordinate"] = geocode | ||
if popuptitle ~= "" then | |||
subobject_entry["KartePopupTitle"] = popuptitle | |||
end | |||
if popuptext ~= "" then | |||
subobject_entry["KartePopupText"] = popuptext | |||
end | |||
table.insert(subobjects, subobject_entry) | table.insert(subobjects, subobject_entry) | ||
end | end | ||
end | end | ||
-- subobjects setzen | -- subobjects setzen | ||
mw.logObject(subobjects, "subobjects") | |||
for _, s in ipairs(subobjects) do | for _, s in ipairs(subobjects) do | ||
s["SubObjektTyp"] = "Geo" | s["SubObjektTyp"] = "Geo" | ||