Last active
June 29, 2016 17:32
-
-
Save burritojustice/74b6637eed0e5f87ea85cc96da335ae3 to your computer and use it in GitHub Desktop.
denmark
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 lang="en"> | |
<head> | |
<meta charset="utf-8"/> | |
<meta name="viewport" content="width=device-width, initial-scale=1"/> | |
<link rel="stylesheet" href="https://mapzen.com/js/0.1.0/mapzen.css"> | |
<script src="https://mapzen.com/js/0.1.0/mapzen.min.js"></script> | |
</head> | |
<body> | |
<div id="map"></div> | |
<script> | |
var map_yo = L.Mapzen.map('map', { | |
center: [56.193,11.623], | |
zoom: 6, | |
scene: "https://gist.githubusercontent.com/burritojustice/f4aae82a0bd4a0cd985a3e263d5a9057/raw/scene.yaml" | |
}) | |
// var locator = L.Mapzen.locator(); | |
// locator.setPosition('bottomright'); | |
// locator.addTo(map); | |
var geocoder = L.Mapzen.geocoder("search-0ddZJIk"); | |
geocoder.addTo(map_yo); | |
geocoder.setPosition('bottomright'); | |
L.Mapzen.hash({ | |
geocoder: geocoder, | |
// 'map': map_yo | |
}); | |
L.Mapzen.bug({ | |
name: 'Web Map', | |
link: 'https://erasermap.com/maps', | |
tweet: '@mapzen', | |
repo: 'https://github.com/mapzen/web-map' | |
}); | |
bug.addTo(map_yo); | |
// L.control.zoom({position:'topright'}).addTo(map_yo); | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment