Skip to content

Commit

Permalink
Update map.js
Browse files Browse the repository at this point in the history
  • Loading branch information
cjunwon committed May 5, 2024
1 parent 67bb690 commit 7a75694
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions collaborations/multimedia-oissue-map-2023/map.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,17 @@ var NEWSmap = new L.map('map', {
});

L.tileLayer(
'https://tiles.stadiamaps.com/tiles/stamen_toner_lite/{z}/{x}/{y}{r}.png',
'https://api.mapbox.com/styles/v1/{id}/tiles/{z}/{x}/{y}?access_token={accessToken}',
{
attribution:
'&copy; <a href="https://stadiamaps.com/" target="_blank">Stadia Maps</a> <a href="https://stamen.com/" target="_blank">&copy; Stamen Design</a> &copy; <a href="https://openmaptiles.org/" target="_blank">OpenMapTiles</a> &copy; <a href="https://www.openstreetmap.org/about" target="_blank">OpenStreetMap</a> contributors',
subdomains: 'abcd',
minZoom: 0,
maxZoom: 20,
ext: 'png',
'Map data &copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors, Imagery © <a href="https://www.mapbox.com/">Mapbox</a>',
maxZoom: 18,
minZoom: 12,
id: 'mapbox/streets-v11',
tileSize: 512,
zoomOffset: -1,
accessToken:
'pk.eyJ1Ijoia2FubmVib3lpbmEiLCJhIjoiY2txanFsaHgxMDFiMjJ3bXpnc3BjOHBrZiJ9.a5Lne6oUV-yW1UdZf6nZ5g',
}
).addTo(NEWSmap);

Expand Down

0 comments on commit 7a75694

Please sign in to comment.