-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
38 lines (30 loc) · 1.14 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
<html lang="en">
<head>
<title>MaptimeSEA Geocoder</title>
<script src="http://code.jquery.com/jquery-1.11.0.min.js"></script>
<script src='https://api.tiles.mapbox.com/mapbox.js/v2.1.5/mapbox.js'></script>
<link href='https://api.tiles.mapbox.com/mapbox.js/v2.1.5/mapbox.css' rel='stylesheet' />
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css">
<link href='http://fonts.googleapis.com/css?family=Lato:100,300,400,700,900,100italic,300italic,400italic,700italic,900italic' rel='stylesheet' type='text/css'>
<link href='public/geocoder.css' rel='stylesheet' />
</head>
<body>
<div id="map"></div>
<div id="info">
<div id="search">
<input type="text" id="address" placeholder="Search an address...">
<button type="button" id="geocode">Geocode</button>
</div>
<div id="introduction"></div>
<ul id="address-list"></ul>
<a id="download-json" href="" download="addresses.json">json</a>
</div>
<script src="public/geocoder.js"></script>
<script>
window.onload = init();
function init () {
window.G = new Geocoder();
}
</script>
</body>
</html>