Skip to content

Commit

Permalink
Merge pull request #4958 from galaxyproject/bobcat-trout
Browse files Browse the repository at this point in the history
swap tile providers in interim
  • Loading branch information
shiltemann authored May 24, 2024
2 parents 25cf88c + 4765704 commit 5df15ab
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions _layouts/event.html
Original file line number Diff line number Diff line change
Expand Up @@ -75,17 +75,11 @@ <h3 id="location">Event Location</h3>

<script>
const map = L.map('map').setView([{{ event.location.geo.lat }}, {{ event.location.geo.lon }}], 14);

var Stadia_StamenTonerLite = L.tileLayer('https://tiles.stadiamaps.com/tiles/stamen_toner_lite/{z}/{x}/{y}{r}.{ext}', {
minZoom: 0,
maxZoom: 20,
attribution: '&copy; <a href="https://www.stadiamaps.com/" target="_blank">Stadia Maps</a> &copy; <a href="https://www.stamen.com/" target="_blank">Stamen Design</a> &copy; <a href="https://openmaptiles.org/" target="_blank">OpenMapTiles</a> &copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors',
ext: 'png'
var OPNVKarte = L.tileLayer('https://tileserver.memomaps.de/tilegen/{z}/{x}/{y}.png', {
maxZoom: 18,
attribution: 'Map <a href="https://memomaps.de/">memomaps.de</a> <a href="http://creativecommons.org/licenses/by-sa/2.0/">CC-BY-SA</a>, map data &copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors'
});

Stadia_StamenTonerLite.addTo(map);


OPNVKarte.addTo(map);
L.marker([{{ event.location.geo.lat }}, {{ event.location.geo.lon }}]).addTo(map)
.bindPopup('{{ event.title }}')
.openPopup();
Expand Down

0 comments on commit 5df15ab

Please sign in to comment.