Created
September 4, 2020 16:07
-
-
Save brianhartsock/ae9880f8312d208922eb1d8010d6aac5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<script src='https://api.mapbox.com/mapbox-gl-js/v1.12.0/mapbox-gl.js'></script> | |
<link href='https://api.mapbox.com/mapbox-gl-js/v1.12.0/mapbox-gl.css' rel='stylesheet' /> | |
</head> | |
<body> | |
<div id='map' style='width: 400px; height: 300px;'></div> | |
<script> | |
mapboxgl.accessToken = 'pk.eyJ1IjoiYnJpYW5oYXJ0c29jayIsImEiOiJja2VvZjBpMzMwaDZ3MnJsZ3ppdDVnYWtpIn0.-NnD5wRdCNvDoxqo7Fnrtg'; | |
var map = new mapboxgl.Map({ | |
container: 'map', | |
style: 'mapbox://styles/mapbox/streets-v11' | |
}); | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment