-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathkaart.html
More file actions
36 lines (33 loc) · 910 Bytes
/
kaart.html
File metadata and controls
36 lines (33 loc) · 910 Bytes
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
29
30
31
32
33
34
35
36
<!doctype html>
<html lang="en">
<head>
<title>Simple Leaflet example</title>
<meta charset="utf-8">
<meta name="viewport"content="width=device-width,initial-scale=1">
<link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.7.3/leaflet.css" />
<script src="http://cdn.leafletjs.com/leaflet-0.7.3/leaflet.js"></script>
<script src="leaflet-hash.js"></script>
<style>
* {
margin: 0;
padding: 0;
}
#map {
position: absolute;
width: 100%;
height: 100%;
}
</style>
</head>
<body>
</header>
<div id="map"></div>
<script>
var tileUrl = 'http://otile2.mqcdn.com/tiles/1.0.0/map/{z}/{x}/{y}.png';
var map = L.map('map');
map.setView([52.3728, 4.9002], 19);
var hash = new L.Hash(map);
L.tileLayer(tileUrl).addTo(map);
</script>
</body>
</html>