Created
July 12, 2016 14:20
-
-
Save ycombinator/ab6e7624bb70ac9baf9b46892082f602 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://res.mapjam.com/lib/0.9/mapjam.js"></script> | |
<link href="https://res.mapjam.com/lib/0.9/mapjam.css" rel="stylesheet" /> | |
<script src="https://res.mapjam.com/lib/0.9/mapjam-resources-L0.js"></script> | |
<link href="https://res.mapjam.com/lib/0.9/mapjam-resources-L0.css" rel="stylesheet" /> | |
<script> | |
window.onload = function() { | |
var ACCESS_TOKEN = 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiI1Nzg0ZmI2ODcxNWUxMjM0MDBiNzEyYjIiLCJpc3MiOiJtYXBqYW0uY29tIn0.4ngOdDmJymLZOJnZhLWp3ayvtOg9yp3h3i5W8Ld3JEE'; | |
var map = new MJ.map('map', { | |
centerMap: [51.5079313, -0.1280328], | |
zoom: 12, | |
accessToken: ACCESS_TOKEN | |
}); | |
} | |
</script> | |
</head> | |
<body> | |
<div id='map' style='width: 400px; height: 300px;'></div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment