-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
33 lines (26 loc) · 897 Bytes
/
index.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
29
30
31
32
33
<html>
<head>
<meta charset=utf-8 />
<title>Tarktee road_restriction</title>
<meta name='viewport' content='initial-scale=1,maximum-scale=1,user-scalable=no' />
<!-- Load Leaflet from CDN-->
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/leaflet.css" />
<script src="https://unpkg.com/[email protected]/dist/leaflet-src.js"></script>
<!-- Load Esri Leaflet from CDN -->
<script src="https://unpkg.com/[email protected]"></script>
<style>
body { margin:0; padding:0; }
#map { position: absolute; top:0; bottom:0; right:0; left:0; }
</style>
</head>
<body>
<div id="map"></div>
<script>
var map = L.map('map').setView([45.526, -122.667], 13);
L.esri.basemapLayer('Streets').addTo(map);
L.esri.featureLayer({
url: 'https://tarktee.mnt.ee/arcgis/rest/services/avalik/tarkteeandmepump/MapServer/7'
}).addTo(map);
</script>
</body>
</html>