Skip to content

Commit

Permalink
Upgrade mapbox-gl and rotate token
Browse files Browse the repository at this point in the history
(closes #66)
  • Loading branch information
bhousel committed Sep 18, 2023
1 parent a48efec commit f70f21f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
<meta charset='utf-8'/>
<title>Location Conflation</title>
<meta name='viewport' content='initial-scale=1,maximum-scale=1,user-scalable=no'/>
<script src='https://api.tiles.mapbox.com/mapbox-gl-js/v1.13.1/mapbox-gl.js'></script>
<script src='https://cdn.jsdelivr.net/npm/mapbox-gl@2.15.0/dist/mapbox-gl.min.js'></script>
<script defer src='https://kit.fontawesome.com/c772610440.js' crossorigin='anonymous'></script>
<script defer src='https://cdn.jsdelivr.net/npm/[email protected]/dist/index.min.js'></script>
<script defer src='https://cdn.jsdelivr.net/npm/@rapideditor/[email protected]/dist/location-conflation.iife.min.js'></script>
<!-- <script defer src='../dist/location-conflation.iife.js'></script> -->
<link href='https://api.tiles.mapbox.com/mapbox-gl-js/v1.13.1/mapbox-gl.css' rel='stylesheet'/>
<link href='https://cdn.jsdelivr.net/npm/mapbox-gl@2.15.0/dist/mapbox-gl.min.css' rel='stylesheet'/>
<link href='style.css' rel='stylesheet' type='text/css'/>
</head>

Expand Down Expand Up @@ -85,12 +85,12 @@ <h3>Try these!</h3>
</div>

<script>
mapboxgl.accessToken = 'pk.eyJ1IjoibWlrZWxtYXJvbiIsImEiOiJjaWZlY25lZGQ2cTJjc2trbmdiZDdjYjllIn0.Wx1n0X7aeCQyDTnK6_mrGw';
mapboxgl.accessToken = 'pk.eyJ1IjoiYmhvdXNlbCIsImEiOiJjbGZ1NG5qbTgwMzJyM3JydmJoY3ZvdDZzIn0.45qwn8YXGm4QofNsZryK4g';

var map = new mapboxgl.Map({
attributionControl: false,
container: 'basemap',
style: 'mapbox://styles/mapbox/dark-v10',
style: 'mapbox://styles/mapbox/dark-v11',
center: [0,0],
zoom: 1,
minZoom: 0,
Expand Down

0 comments on commit f70f21f

Please sign in to comment.