Skip to content

Commit

Permalink
Update to stadia maps
Browse files Browse the repository at this point in the history
  • Loading branch information
Mossy1022 committed Oct 6, 2023
1 parent ee22d83 commit 7b67d8a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion components/geo_map.html
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,10 @@ <h5 class="modal-title">Export Geospatial Data</h5>


var layers = {
basemap: L.tileLayer('http://stamen-tiles-{s}.a.ssl.fastly.net/terrain/{z}/{x}/{y}.png'),
basemap: L.tileLayer('https://tiles.stadiamaps.com/tiles/alidade_smooth/{z}/{x}/{y}{r}.png', {
maxZoom: 20,
attribution: '© <a href="https://stadiamaps.com/" target="_blank">Stadia Maps</a>, © <a href="https://openmaptiles.org/" target="_blank">OpenMapTiles</a> © <a href="https://www.openstreetmap.org/about" target="_blank">OpenStreetMap</a> contributors'
}),
satellite: L.tileLayer('https://api.mapbox.com/styles/v1/mapbox/satellite-streets-v9/tiles/256/{z}/{x}/{y}?access_token=pk.eyJ1IjoiYWFib3lsZXMiLCJhIjoiY2o4b3QxNmtjMDhwNjMzcno4dDd1NnVraSJ9.BkjEa6NM7o7KeTaTHOaIGg'),
nodes: { remove: function () { return null; } },
links: { remove: function () { return null; } }
Expand Down

0 comments on commit 7b67d8a

Please sign in to comment.