Created
July 12, 2016 14:12
-
-
Save ycombinator/9f8db0ed919aad3b82818cb4dab9e378 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<script src='https://api.mapbox.com/mapbox-gl-js/v0.20.1/mapbox-gl.js'></script> | |
<link href='https://api.mapbox.com/mapbox-gl-js/v0.20.1/mapbox-gl.css' rel='stylesheet' /> | |
</head> | |
<body> | |
<div id='map' style='width: 400px; height: 300px;'></div> | |
<script> | |
mapboxgl.accessToken = 'pk.eyJ1IjoieWNvbWJpbmF0b3I4MSIsImEiOiJjaXFqaDIxa2gwYTloZnJtMTR0cjE3dGFuIn0.9ZLKlLIK00qCDB61_ir-pQ'; | |
var map = new mapboxgl.Map({ | |
container: 'map', | |
style: 'mapbox://styles/mapbox/streets-v9' | |
}); | |
</script></body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment