-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
166 lines (148 loc) · 6.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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<meta name="description" content="">
<meta name="author" content="">
<link rel="shortcut icon" href="//map.what3words.com/favicon.ico">
<title>what3words integration with ArcGIS for Javascript</title>
<!-- Bootstrap core CSS -->
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css">
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
<style>
/*
* Style tweaks
* --------------------------------------------------
*/
html,
body {
overflow-x: hidden;
/* Prevent scroll on narrow devices */
}
body {
padding-top: 70px;
}
footer {
padding: 30px 0;
}
/*
* Off Canvas
* --------------------------------------------------
*/
@media screen and (max-width: 767px) {
.row-offcanvas {
position: relative;
-webkit-transition: all .25s ease-out;
-o-transition: all .25s ease-out;
transition: all .25s ease-out;
}
.row-offcanvas-right {
right: 0;
}
.row-offcanvas-left {
left: 0;
}
.row-offcanvas-right .sidebar-offcanvas {
right: -50%;
/* 6 columns */
}
.row-offcanvas-left .sidebar-offcanvas {
left: -50%;
/* 6 columns */
}
.row-offcanvas-right.active {
right: 50%;
/* 6 columns */
}
.row-offcanvas-left.active {
left: 50%;
/* 6 columns */
}
.sidebar-offcanvas {
position: absolute;
top: 0;
width: 50%;
/* 6 columns */
}
}
</style>
</head>
<body>
<div class="container">
<!-- <div class="row row-offcanvas row-offcanvas-right"> -->
<div class="jumbotron">
<h1>ArcGIS for Javascript Samples</h1>
<p>These applications demonstrate reverse geocoding with <a href="http://what3words.com" target="_blank">what3words</a> using <a href="http://js.arcgis.com" target="_blank">ArcGIS API for JavaScript</a>.</p>
</div>
<div class="row">
<div class="col-xs-6 col-md-4">
<h2>ArcGIS API 3.20 using vector tile layer</h2>
<p align=center><img src="./assets/api315vt.png" width="250"></p>
<p align=center><a class="btn btn-default" href="w3w-arcgis-javascript-3.20vt.html" role="button">View live</a>
<a class="btn btn-default" href="https://github.com/what3words/arcgis-javascript-samples/blob/master/w3w-arcgis-javascript-3.20vt.html" role="button">View code »</a>
</p>
</div>
<!--/.col-xs-6 col-md-4-->
<div class="col-xs-6 col-md-4">
<h2>ArcGIS API 4.0<br>beta</h2>
<p align=center><img src="./assets/api4.png" width="250"></p>
<p align=center><a class="btn btn-default" href="w3w-arcgis-javascript-4.0beta.html" role="button">View live</a>
<a class="btn btn-default" href="https://github.com/what3words/arcgis-javascript-samples/blob/master/w3w-arcgis-javascript-4.0beta.html" role="button">View code »</a></p>
</div>
<!--/.col-xs-6 col-md-4-->
<div class="col-xs-6 col-md-4">
<h2>Bootstrap-map-js and ArcGIS API 3.20</h2>
<p align=center><img src="./assets/bootstrapmap.png" width="250"></p>
<p align=center><a class="btn btn-default" href="w3w-bootstrap-map-js-api-3.20.html" role="button">View live</a>
<a class="btn btn-default" href="https://github.com/what3words/arcgis-javascript-samples/blob/master/w3w-bootstrap-map-js-api-3.20.html" role="button">View code »</a></p>
</div>
<!--/.col-xs-6 col-md-4-->
</div>
<!--/row-->
<div class="row">
<div class="col-xs-6 col-md-4">
<h2>ArcGIS Locator with a GetToken</h2>
<p align=center><img src="./assets/locator.png" width="250"></p>
<p align=center><a class="btn btn-default" href="w3w-arcgis-locator-with-gettoken.html" role="button">View live</a>
<a class="btn btn-default" href="https://github.com/what3words/arcgis-javascript-samples/blob/master/w3w-arcgis-locator-with-gettoken.html" role="button">View code »</a></p>
</div>
<!--/.col-xs-6 col-md-4-->
<div class="col-xs-6 col-md-4">
<h2>ArcGIS Locator with a proxy</h2>
<p align=center><img src="./assets/locator.png" width="250"></p>
<p align=center><a class="btn btn-default disabled" href="w3w-arcgis-locator-with-proxypage.html" role="button">View live</a>
<a class="btn btn-default" href="https://github.com/what3words/arcgis-javascript-samples/blob/master/w3w-arcgis-locator-with-proxypage.html" role="button">View code »</a></p>
</div>
</div>
<!--/row-->
<!-- </div> -->
<!--/row-->
<hr>
<footer>
<p>© 2017 what3words</p>
</footer>
</div>
<!--/.container-->
<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<!-- jQuery (for Bootstrap's JavaScript plugins). -->
<script src="//code.jquery.com/jquery-2.2.0.min.js"></script>
<!-- Include all plugins or individual files as needed -->
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script>
<script>
$(document).ready(function() {
$('[data-toggle="offcanvas"]').click(function() {
$('.row-offcanvas').toggleClass('active')
});
});
</script>
</body>
</html>