-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
113 lines (101 loc) · 5.12 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
<!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" ng-app="myApp" lang="en"> <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Location Selector</title>
<meta name="description" content="Address Autocomplete and Point on map using ESRI, OpenLayers 3 and Autocomplete.js">
<!-- Application CSS file -->
<link rel="stylesheet" href="http://yui.yahooapis.com/pure/0.6.0/pure-min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/ol3/3.9.0/ol.min.css">
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Raleway">
<link rel="stylesheet" href="css/location-selector.min.css?9e8170636c2c05ad">
</head>
<body>
<div id="layout">
<!-- Menu toggle -->
<a href="#menu" id="menuLink" class="menu-link">
<!-- Hamburger icon -->
<span></span>
</a>
<div id="menu">
<div class="pure-menu">
<a class="pure-menu-heading" href="#">LocationSelector.js</a>
<ul class="pure-menu-list">
<li class="pure-menu-item"><a href="#" class="pure-menu-link">Home</a></li>
<li class="pure-menu-item"><a href="#" class="pure-menu-link">Installation</a></li>
<li class="pure-menu-item" class="menu-item-divided pure-menu-selected">
<a href="#" class="pure-menu-link">Examples</a>
</li>
<li class="pure-menu-item"><a href="#" class="pure-menu-link">API</a></li>
</ul>
</div>
</div>
<div id="main">
<div class="header">
<h1>LocationSelector.js</h1>
<h2>Address autocomplete and Point on map</h2>
</div>
<!--
Home
-->
<div class="pure-g">
<div class="pure-u-3-24"> </div>
<div class="pure-u-18-24">
<input id="autocomplete" class="autocomplete" type="text" placeholder="Search a address or location.. OR Drag the marker around">
</div>
</div>
<div class="pure-g">
<div class="pure-u-3-24"> </div>
<div class="pure-u-12-24">
<div id="map" class="map">
</div>
</div>
<div class="pure-u-6-24 location-select-output">
<pre id="locationSelectOutput" class="prettyprint location-select-output-code">
{
"coordinates": {
"x": -96.96533203125,
"y": 41.124883599291195
},
"zoom": 3,
"address": null,
"extents": null
}
</pre>
</div>
</div>
<!--
Home End
-->
<!--
Installation
-->
<div class="pure-g">
<div class="pure-u-3-24"> </div>
<div class="pure-u-18-24">
<h2 class="content-subhead">Installation</h2>
<pre class="prettyprint">
<!--OpenLayers 3 -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/ol3/3.9.0/ol.min.css"></link>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/ol3/3.9.0/ol.min.js"></link>
<!--Typeahead.js -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/typeahead.js/0.11.1/typeahead.bundle.min.js"></link>
<!--LocationSelect.js -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/locationselect.js/0.1/locationselect.min.js"></link>
</pre>
</div>
</div>
<!--
Installation End
-->
</div>
</div>
<a href="https://github.com/shaunakv1/location-selector"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://camo.githubusercontent.com/38ef81f8aca64bb9a64448d0d70f1308ef5341ab/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f6461726b626c75655f3132313632312e706e67" alt="Fork me on GitHub" data-canonical-src="https://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png"></a>
<!-- DO NOT INCLUDE SCRIPTS HERE, USE GRUNT. README! -->
<script src="js/location-selector.js?92f5eaf2ac6e160c"></script>
</body>
</html>