Skip to content

Commit

Permalink
Bumping Mapbox to v3.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
bleege committed Dec 18, 2023
1 parent c7d1492 commit 55e7efb
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions MacMaps/MapVendors/mapbox.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
<meta charset="utf-8">
<title>MacMaps - Mapbox</title>
<meta name="viewport" content="initial-scale=1,maximum-scale=1,user-scalable=no">
<link href="https://api.mapbox.com/mapbox-gl-js/v2.11.0/mapbox-gl.css" rel="stylesheet">
<script src="https://api.mapbox.com/mapbox-gl-js/v2.11.0/mapbox-gl.js"></script>
<link href="https://api.mapbox.com/mapbox-gl-js/v3.0.1/mapbox-gl.css" rel="stylesheet">
<script src="https://api.mapbox.com/mapbox-gl-js/v3.0.1/mapbox-gl.js"></script>
<script src='https://npmcdn.com/@turf/turf/turf.min.js'></script>
<style>
body { margin: 0; padding: 0; }
Expand All @@ -18,7 +18,6 @@
mapboxgl.accessToken = 'MAPBOX_ACCESS_TOKEN';
const map = new mapboxgl.Map({
container: 'map', // container ID
style: 'mapbox://styles/mapbox/streets-v11', // style URL
center: [-74.5, 40], // starting position [lng, lat]
zoom: 9 // starting zoom
});
Expand Down

0 comments on commit 55e7efb

Please sign in to comment.