-
Notifications
You must be signed in to change notification settings - Fork 0
/
example.html
34 lines (34 loc) · 1.83 KB
/
example.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
34
<head>
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/leaflet.css" integrity="sha512-Rksm5RenBEKSKFjgI3a41vrjkw4EVPlJ3+OiI65vTjIdo9brlAacEuKOiQ5OFh7cOI1bkDwLqdLw3Zg0cRJAAQ=="crossorigin="" />
<link rel="stylesheet" type="text/css" href="https://unpkg.com/[email protected]/dist/MarkerCluster.css" />
<link rel="stylesheet" type="text/css" href="https://unpkg.com/[email protected]/dist/MarkerCluster.Default.css" />
<script src="https://unpkg.com/[email protected]/dist/leaflet.js" integrity="sha512-/Nsx9X4HebavoBvEBuyp3I7od5tA0UzAxs+j83KgC8PU0kgB4XiK4Lfe4y4cgBtaRJQEIFCW+oC506aPT2L1zw=="crossorigin=""></script>
<script type='text/javascript' src='https://code.jquery.com/jquery-3.3.1.min.js'></script>
<script type='text/javascript' src='https://unpkg.com/[email protected]/dist/leaflet.markercluster.js'></script>
<link rel="stylesheet" href="https://unpkg.com/leaflet-control-geocoder/dist/Control.Geocoder.css" />
<script src="https://unpkg.com/leaflet-control-geocoder/dist/Control.Geocoder.js"></script>
<script src="https://npmcdn.com/@turf/turf/turf.min.js"></script>
<script type='text/javascript' src='example_zones.js'></script>
<style type="text/css">
#map{
height:75vh;
width: 90wh;
}
</style>
</head>
<script type="text/javascript" src='map.js'></script>
<div id="imap">
<div id="map">
<!-- Here is the image of the map -->
</div>
</div>
<form>
<div style="float:left">
<label for="v_43">Origin Zone:</label>
<input type="text" id="v_43" name="v_43" style="width: 200px" maxlength="47" type="hidden" readonly/>
</div>
<div style="float:right">
<label for="v_44">Destination Zone:</label>
<input type="text" id="v_44" name="v_44" style="width: 200px" maxlength="47" type="hidden" readonly/>
</div>
</form>