feat: integrate with Geaoapify for maps tiles

This commit is contained in:
2026-09-22 10:25:20 +02:00
parent abcd39107b
commit 3ff3251419
9 changed files with 44 additions and 21 deletions
@@ -17,5 +17,8 @@ plugin.tx_epproducts {
ratingWidgetLabel = {$plugin.tx_eptheme.settings.ratingWidgetLabel}
skipassPageUid = {$plugin.tx_eptheme.settings.skipassPageUid}
conceptsPageUid = {$plugin.tx_eptheme.settings.conceptsPageUid}
mapTileUrl = {$plugin.tx_eptheme.settings.mapTileUrl}
mapApiKey = {$plugin.tx_eptheme.settings.mapApiKey}
mapAttribution = {$plugin.tx_eptheme.settings.mapAttribution}
}
}
@@ -7,5 +7,8 @@ lib.contentElement {
settings < plugin.tx_eptheme.settings
settings.themekey = {$plugin.tx_eptheme.settings.themekey}
settings.defaultAjaxUid = {$plugin.tx_eptheme.settings.defaultAjaxUid}
settings.mapTileUrl = {$plugin.tx_eptheme.settings.mapTileUrl}
settings.mapApiKey = {$plugin.tx_eptheme.settings.mapApiKey}
settings.mapAttribution = {$plugin.tx_eptheme.settings.mapAttribution}
}
@@ -75,6 +75,13 @@ plugin.tx_eptheme {
# cat=eptheme/200/350; type=string; label='Corona Updates' page UID
coronaUpdatesPageUid =
# cat=eptheme/500/100; type=string; label=Map tile URL template (without apiKey)
mapTileUrl = https://maps.geoapify.com/v1/tile/osm-bright/{z}/{x}/{y}.png
# cat=eptheme/500/110; type=string; label=Map tile API key (Geoapify), restricted by referrer
mapApiKey =
# cat=eptheme/500/120; type=string; label=Map attribution (Geoapify and OpenStreetMap credits are both required)
mapAttribution = Powered by <a href="https://www.geoapify.com/">Geoapify</a> | &copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors
# cat=eptheme/400/100; type=string; label=Phone number general
phoneNumber = 0221 - 272 276 0
# cat=eptheme/400/110; type=string; label=Phone number WhatsApp