Skip to content

Instantly share code, notes, and snippets.

@zacwasielewski
Created April 9, 2021 00:47
Show Gist options
  • Save zacwasielewski/53ae43065afafe2f568c1eab43af145a to your computer and use it in GitHub Desktop.
Save zacwasielewski/53ae43065afafe2f568c1eab43af145a to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
<html lang="en">
<head>
<title>One Minute Map</title>
<meta charset="utf-8">
<link rel="stylesheet" href="https://www.nextzen.org/js/nextzen.css">
<script src="https://www.nextzen.org/js/nextzen.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>
// Mapzen API key (replace key with your own)
// To generate your own key, go to https://mapzen.com/developers/
L.Mapzen.apiKey = 'mapzen-JA21Wes';
var map = L.Mapzen.map('map', {
center: [37.7749, -122.4194],
zoom: 13,
scene: L.Mapzen.BasemapStyles.Cinnabar
});
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment