Last active
January 29, 2017 00:34
-
-
Save copystar/b530b0b7e0096a7beb8e37c25da4ab71 to your computer and use it in GitHub Desktop.
Starting with mapzen
This file contains hidden or 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 lang="en"> | |
<head> | |
<title>One Minute Map</title> | |
<meta charset="utf-8"> | |
<link rel="stylesheet" href="https://mapzen.com/js/mapzen.css"> | |
<script src="https://mapzen.com/js/mapzen.min.js"></script> | |
<style> | |
#map { | |
height: 100%; | |
width: 100%; | |
position: absolute; | |
} | |
html,body{margin: 0; padding: 0} | |
</style> | |
</head> | |
<body> | |
<div id="map"></div> | |
<script> | |
var map = L.Mapzen.map('map', { | |
center: [42.3017, -83.0218], | |
zoom: 13, | |
scene: L.Mapzen.BasemapStyles.BubbleWrap | |
}); | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://mapzen.com/blog/one-minute-map/
http://bl.ocks.org/copystar/b530b0b7e0096a7beb8e37c25da4ab71