Skip to content

Commit

Permalink
Merge pull request #11 from climmigre/evirevialle-patch-1
Browse files Browse the repository at this point in the history
Update map2.js
  • Loading branch information
evirevialle authored Mar 24, 2024
2 parents 6ed75d5 + 8aeb979 commit c1703a2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/map2.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ mymap= L.map('mapBox',{
});


L.tileLayer('https://api.mapbox.com/styles/v1/{id}/tiles/{z}/{x}/{y}?access_token=pk.eyJ1IjoibWFwYm94IiwiYSI6ImNpejY4NXVycTA2emYycXBndHRqcmZ3N3gifQ.rJcFIG214AriISLbB6B5aw', {
L.tileLayer('https://tile.openstreetmap.org/{z}/{x}/{y}.png', {

maxZoom: 20,
minZoom: 2,
Expand Down Expand Up @@ -58,4 +58,4 @@ mymap.fitBounds(datalayer.getBounds());

setInterval(function (){
mymap.invalidateSize();
}, 100);
}, 100);

0 comments on commit c1703a2

Please sign in to comment.