This repository has been archived by the owner on May 4, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
65 lines (60 loc) · 2.02 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
53
54
55
56
57
58
59
60
61
62
63
64
65
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link
rel="shortcut icon"
href="https://res.cloudinary.com/jhordyess/image/upload/v1667836186/global/favicon.svg.svg"
type="image/x-icon"
/>
<meta name="theme-color" content="#C8D6EA" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Search locations</title>
<meta
name="description"
content="Search some locations on the map, using latitude and longitude"
/>
</head>
<body>
<main>
<h2>Search locations</h2>
<div>
<b>Coordinates</b>
<div class="inputs_container">
<input id="lat" placeholder="Latitude" type="number" value="51.505"/>
<input id="lng" placeholder="Longitude" type="number" value="-0.09"/>
</div>
</div>
<div>
<b>Radius of the circle</b>
<div class="radius_container">
<input id="ran" type="range" min="0" max="5000" value="0" step="1" />
<div>
<input id="ran_value" type="number" min="0" max="5000" value="1" />
</div>
<div>
<select id="ran_unit">
<option value="m">meters</option>
<option value="km" selected>km</option>
<option value="mi">mile</option>
</select>
</div>
</div>
<div class="buttons_container">
<button id="btn-local">Use my location <span>(needs allow it)</span></button>
<button id="btn-go">Go</button>
<button id="btn-def">Reset</button>
</div>
<div id="map-container"></div>
</main>
<footer>
Made with 💪 by
<a href="https://www.jhordyess.com" target="_blank">Jhordyess</a>
<br />
👉
<a href="https://github.com/jhordyess/search-locations" target="_blank"> View on GitHub </a>
</footer>
<script type="module" src="/main.js"></script>
</body>
</html>