Skip to content

Commit

Permalink
Upgrade mapbox-gl and rotate token
Browse files Browse the repository at this point in the history
  • Loading branch information
bhousel committed Sep 18, 2023
1 parent d1608a7 commit dc1bc1d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
<meta charset='utf-8'/>
<title>Country Coder</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/@rapideditor/country-coder@5.2/dist/country-coder.iife.min.js"></script>
<!-- <script defer src='../dist/country-coder.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 @@ -82,12 +82,12 @@
</div>

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

var overviewMbgl = new mapboxgl.Map({
attributionControl: false,
container: 'overview-map',
style: 'mapbox://styles/mapbox/dark-v10',
style: 'mapbox://styles/mapbox/dark-v11',
center: [0,0],
zoom: -0.8,
interactive: false,
Expand All @@ -96,7 +96,7 @@
var detailMbgl = new mapboxgl.Map({
attributionControl: false,
container: 'detail-map',
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 dc1bc1d

Please sign in to comment.