This repository has been archived by the owner on Apr 14, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
52 lines (52 loc) · 2.29 KB
/
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<!DOCTYPE HTML>
<html>
<head>
<meta content="initial-scale=1.0, user-scalable=no" name="viewport">
<meta charset="utf-8">
<link href="./files/GML_IC.jpg" rel="icon">
<link href="./src/webpage/pcm_styles.css" rel="stylesheet" type="text/css">
<link href='https://fonts.googleapis.com/css?family=Source+Sans+Pro' rel='stylesheet' type='text/css'>
<link crossorigin="" href="https://unpkg.com/[email protected]/dist/leaflet.css"
integrity="sha256-sA+zWATbFveLLNqWO2gtiw3HL/lh1giY/Inf1BJ0z14="
rel="stylesheet"/>
<title>Postcodes Maps</title>
</head>
<body onload="initMap();">
<div class="navbar">
<div class="dropdown">
<button class="homebtn" id="home" onclick="location.reload();" type="button">⌂</button>
</div>
<div class="dropdown">
<button class="dropbtn" id="but1" type="button"><b>Postcode areas of Polish provinces</b></button>
<div class="dropdown-content" id="drop1"></div>
</div>
<div class="searchDiv">
<input autocomplete="off" class="controls" id="searchInput" onkeydown='key_down_handler(event)'
onkeyup='key_up_handler(event.key, this.value)'
placeholder="Specify municipality name or postcode (in the format '00-000')" spellcheck="false"
type="search">
<div class="autocomplete-content" id="autoc1"></div>
<button class="clearbtn" id="clr_btn" onclick="javascript:clear_pc_lyrs();" title="Clear all postcodes polygons"
type="button">✘
</button>
</div>
<label for="searchInput" id="srch_lbl">Search engine:</label>
</div>
<div id="map"></div>
<script crossorigin="" integrity="sha256-o9N1jGDZrf5tS+Ft4gbIK7mYMipq9lqpVJ91xHSyKhg="
src="https://unpkg.com/[email protected]/dist/leaflet.js"></script>
<script src="./src/webpage/pcm_jscripts.js"></script>
<script src="./src/webpage/leaflet.ajax.min.js"></script>
<script src="./src/webpage/jquery-3.6.1.min.js"></script>
<script src='https://api.mapbox.com/mapbox.js/plugins/leaflet-omnivore/v0.2.0/leaflet-omnivore.min.js'></script>
<div id="loading">
<div class="loader">
<h1>Loading...</h1>
<h2>0</h2>
<div class="inner one"></div>
<div class="inner two"></div>
<div class="inner three"></div>
</div>
</div>
</body>
</html>