Last active
July 27, 2017 19:06
-
-
Save wuz/1dd374dc3324f8632291887f30b4753b to your computer and use it in GitHub Desktop.
Starting Out
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
mapboxgl.accessToken = 'pk.eyJ1IjoiYnlmcm9zdC1hcnRpY2xlcyIsImEiOiJjajVsZ3NwZGczMWNtMnFyeTR2cHRnajZ4In0.HOjYrueiLWlhLfhsDCa7wQ'; // Replace with your token | |
var map = new mapboxgl.Map({ | |
container: 'map', //this is the id of the container you want your map in | |
style: 'mapbox://styles/mapbox/light-v9', // this controls the style of the map. Want to see more? Try changing 'light' to 'simple'. | |
minZoom: 2 // We want our map to start out pretty zoomed in to start. | |
}); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment