diff --git a/index.html b/index.html index a3ec7aa..6e32d90 100644 --- a/index.html +++ b/index.html @@ -171,7 +171,11 @@
Administrative Boundaries: OSM-Boundaries, - Overpass API + Overpass API +
+
+ Locations (POIs): + Overpass API
Elevation data
diff --git a/js/Map.js b/js/Map.js index d772e11..2995a36 100644 --- a/js/Map.js +++ b/js/Map.js @@ -56,6 +56,10 @@ BR.Map = { $('#credits').on('show.bs.modal', function (event) { BR.Map._renderLayerCredits(layersControl._layers); + const overpassUrl = new URL(BR.conf.overpassBaseUrl || 'https://overpass-api.de').origin; + for (const link of document.getElementsByClassName('overpass-url')) { + link.href = overpassUrl; + } }); new L.Control.PermalinkAttribution().addTo(map); diff --git a/locales/en.json b/locales/en.json index 7c2eedc..c575ee7 100644 --- a/locales/en.json +++ b/locales/en.json @@ -15,7 +15,7 @@ "tooltip": "Show more information about BRouter-Web" }, "credits": { - "boundaries": "Administrative Boundaries: OSM-Boundaries, Overpass API", + "boundaries": "Administrative Boundaries: OSM-Boundaries, Overpass API", "brouter": "BRouter", "brouter-license": "BRouter © Arndt Brenschede", "elevation-data": "Elevation data", @@ -25,6 +25,7 @@ "map-tiles": "Map tiles", "nominatim": "Search by Nominatim", "openstreetmap": "© OpenStreetMap contributors under ODbL", + "pois": "Locations (POIs): Overpass API", "title": "Credits" }, "export": {