Skip to content

Instantly share code, notes, and snippets.

@burritojustice
Last active June 9, 2017 23:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save burritojustice/dcf86abf2b5fe6c82b884f922d83212b to your computer and use it in GitHub Desktop.
Save burritojustice/dcf86abf2b5fe6c82b884f922d83212b to your computer and use it in GitHub Desktop.
las vegas airport to strip tron z17
license: mit
<!DOCTYPE html>
<html lang="en">
<head>
<title>Las Vegas Tron Pan z17</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 center = [36.07,-115.1454];
L.Mapzen.apiKey = 'mapzen-ojDtb4R';
var map = L.Mapzen.map('map', {
center: center,
zoom: 17,
scene: 'https://mapzen.com/carto/tron-style-more-labels/tron-style-more-labels.zip',
});
map.panTo([36.13,-115.15], {animate: true,duration: 400})
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment