forked from sspinnovations/esrijsapi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
178 lines (160 loc) · 7.28 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
167
168
169
170
171
172
173
174
175
176
177
<!DOCTYPE html>
<html class="dj_webkit dj_chrome dj_contentbox">
<head>
<meta charset="utf-8">
<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no">
<title>Esri JS 4.0 Project</title>
<link rel="stylesheet" href="https://jsqa.arcgis.com/4.0/esri/css/main.css">
<link rel="stylesheet" href="bootstrap/bootstrap.min.css">
<!-- Optional theme -->
<link rel="stylesheet" href="bootstrap/bootstrap-theme.min.css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
<script src="https://jsqa.arcgis.com/4.0/"></script>
<script src="http://code.jquery.com/jquery-2.2.0.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script>
<link href="Site.css" rel="stylesheet">
</head>
<body>
<div class="container-fluid">
<div class="row">
<div class="col-md-10" style="postion: relative">
<div id="searchDiv"></div>
<div id="siteMap"></div>
<div id="environmentDiv" style="display: none">
<table>
<tr>
<td>Time of day:</td>
<td>
<select id="timeOfDaySelect" class="form-control">
<option value="Sun Mar 15 2015 09:00:00 GMT+0100 (CET)">Morning</option>
<option value="Sun Mar 15 2015 12:00:00 GMT+0100 (CET)">Noon</option>
<option value="Sun Mar 15 2015 16:00:00 GMT+0100 (CET)">Afternoon</option>
<option value="Sun Mar 15 2015 18:00:00 GMT+0100 (CET)">Evening</option>
</select>
</td>
</tr>
<tr>
<td style="padding-top: 10px">Direct shadows:</td>
<td style="padding-top: 10px">
<input id="directShadowsInput" type="checkbox" checked="yes">
</td>
</tr>
</table>
</div>
<div id="rotationButtons" style="display: none">
<button id="rotateAntiClockwiseSpan"
title="Rotate 90°"
onclick="NavigationHelper.rotateView(-1)">↻</button>
<button class="tiltButton" onclick="NavigationHelper.tiltView()">
<i class="fa fa-eye"></i>
</button>
<button id="rotateClockwiseSpan"
title="Rotate 90°"
onclick="NavigationHelper.rotateView(1)">↺</button>
</div>
<div id="webglNotSupportedDiv">
WebGL is not supported on your platform/browser
</div>
</div>
<div class="col-md-2" style="overflow: auto">
<div style="margin-bottom: 8px">
<fieldset>
<legend>Map Type</legend>
<select id="mapType" class="form-control">
<option value="1">2D Map View</option>
<option value="2">3D Scene View</option>
<option value="3">3D Elevation View</option>
<option value="4">3D Transporation Layer</option>
<option value="5">3D Scene W/Camera Controls</option>
<option value="6">3D Viewshed (10 mile view radius)</option>
<option value="7">3D Scene W/Shadows</option>
<option value="8">2D Popup Example</option>
</select>
</fieldset>
</div>
<div style="margin-bottom: 14px">
<fieldset>
<legend>Layers</legend>
<select id="basemaps" class="form-control">
<option value="streets">Streets</option>
<option value="satellite">Satellite</option>
<option value="hybrid">Hybrid</option>
<option value="topo">Topo</option>
<option value="gray">Gray</option>
<option value="dark-gray">Dark Gray</option>
<option value="oceans">Oceans</option>
<option value="national-geographic">National Geographic</option>
<option value="terrain">Terrain</option>
<option value="osm">OSM</option>
</select>
</fieldset>
</div>
<fieldset>
<legend>Widgets</legend>
<div class="buttonMargin">
<button class="wet-asphalt-flat-button" onclick="MapHelper.locationWidget()">
Location
</button>
</div>
<div class="buttonMargin">
<button class="wet-asphalt-flat-button" onclick="MapHelper.homeWidget()">
Home
</button>
</div>
<div class="buttonMargin">
<button class="wet-asphalt-flat-button" onclick="MapHelper.searchWidget()">
Search
</button>
</div>
<div class="buttonMargin">
<button class="wet-asphalt-flat-button" onclick="MapHelper.toggleWidget()">
Toggle
</button>
</div>
</fieldset>
<div class="latLong">
<p>Center Latitude: <br /><span id="latLabel"></span></p>
<p>Center Longitude: <br /><span id="longLabel"></span></p>
</div>
<fieldset>
<legend>2D Drawing</legend>
<div style="margin-top: 3px">
<button class="graphite-flat-button" onclick="MapHelper.plotCenterPoint()">
Plot Center
</button>
</div>
<div style="margin-top: 8px">
<input type="checkbox" id="trackCP" /> Track center point
</div>
</fieldset>
<fieldset>
<legend>Navigate To</legend>
<p>lat: <input type="text" id="latNav" style="width: 75px" /></p>
<p>long: <input type="text" id="longNav" style="width: 75px" /></p>
<button class="clouds-flat-button"
onclick="NavigationHelper.goToLatLong()">
Submit
</button>
</fieldset>
<fieldset style="display: none">
<legend>Geocode</legend>
<p>Address: <br />
<textarea id="geocodeAddress" class="addressInput">
</textarea>
</p>
<button class="clouds-flat-button"
onclick="NavigationHelper.geocode()">
Submit
</button>
</fieldset>
</div>
</div>
</div>
<script src="Site.js"></script>
<script src="MapHelper.js"></script>
<script src="NavigationHelper.js"></script>
<script src="WatchHelper.js"></script>
<script src="startup.js"></script>
<script src="notify.js"></script>
</body>
</html>