forked from summer4096/hoverboard
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathgeojson.html
28 lines (21 loc) · 917 Bytes
/
geojson.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<!DOCTYPE html>
<html>
<head>
<title>Map on Canvas using geojson</title>
<meta charset="utf-8">
<link rel="stylesheet" type="text/css" href="https://cdn.rawgit.com/Leaflet/Leaflet/v0.7.3/dist/leaflet.css">
<link rel="stylesheet" type="text/css" href="example.css">
</head>
<body>
<div id="map"></div>
<script src="https://cdn.rawgit.com/jondavidjohn/hidpi-canvas-polyfill/master/dist/hidpi-canvas.min.js"></script>
<script src="https://cdn.rawgit.com/Leaflet/Leaflet/v0.7.3/dist/leaflet.js"></script>
<script src="https://cdn.rawgit.com/mbostock/d3/master/d3.min.js"></script>
<script src='https://api.tiles.mapbox.com/mapbox.js/plugins/leaflet-hash/v0.2.1/leaflet-hash.js'></script>
<script src="dist/hoverboard.js"></script>
<script>
window.xyz_tile_source_url = 'https://vector.mapzen.com/osm/all/{z}/{x}/{y}.json';
</script>
<script src="example.js"></script>
</body>
</html>