-
Notifications
You must be signed in to change notification settings - Fork 1
/
mapCore2D.html
268 lines (236 loc) · 14.4 KB
/
mapCore2D.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
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no">
<meta name="description" content="ArcGIS JS v4, Calcite Maps and Bootstrap Example">
<title>Official MoboGIS Version 3.2.0.1</title>
<script language="JavaScript" type="text/javascript" src="js/webConfig.js"></script>
<!-- ArcGIS JS 4 -->
<link rel="stylesheet" href="css/mapCore2D.css">
<script>
var dojoConfig = {
has: {
"esri-featurelayer-webgl": 1
}
};
</script>
</head>
<body class="calcite-maps calcite-nav-top">
<!-- Navbar -->
<nav class="navbar calcite-navbar navbar-fixed-top calcite-text-light calcite-bg-dark">
<!-- Menu -->
<div class="dropdown calcite-dropdown calcite-text-dark calcite-bg-light" role="presentation">
<a class="dropdown-toggle" role="menubutton" aria-haspopup="true" aria-expanded="false" tabindex="0">
<div class="calcite-dropdown-toggle">
<span class="sr-only">Toggle dropdown menu</span>
<span></span>
<span></span>
<span></span>
<span></span>
</div>
</a>
<ul class="dropdown-menu" role="menu">
<li><a role="menuitem" tabindex="0" id="btnAbout" data-target="#panelInfo" aria-haspopup="true"><span class="glyphicon glyphicon-info-sign"></span> About</a></li>
<li><a role="menuitem" tabindex="0" id="btnBasemaps" data-target="#panelBasemaps" aria-haspopup="true"><span class="glyphicon glyphicon-th-large"></span> Basemaps</a></li>
<li><a role="menuitem" tabindex="0" id="btnLegend" href="#" data-target="#panelLegend" aria-haspopup="true"><span class="glyphicon glyphicon-list-alt"></span> Legend</a></li>
<li><a role="menuitem" tabindex="0" id="btnLayerList" href="#" data-target="#panelLayerList" aria-haspopup="true"><span class="glyphicon glyphicon-th-list"></span> LayerList</a></li>
<li><a role="menuitem" tabindex="0" id="btnAttributeInfo" href="#"aria-haspopup="true"><span class="esri-icon-description"></span> Attribute Info</a></li>
<li><a role="menuitem" tabindex="0" id="btnSketch" href="#" data-target="#panelSketch" aria-haspopup="true"><span class="glyphicon glyphicon-pencil"></span> Sketch</a></li>
<li><a role="menuitem" tabindex="0" id="btnMeasurement" href="#" data-target="#panelMeasurement" aria-haspopup="true"><span class="glyphicon glyphicon-resize-small"></span> Measurement</a></li>
<li><a role="menuitem" tabindex="0" id="btnCoordinateConversion" href="#" data-target="#panelCoordinateConversion" aria-haspopup="true"><span class="glyphicon glyphicon-random"></span> CoordinateConversion</a></li>
<li><a role="menuitem" tabindex="0" href="#" data-target="#panelPrint" aria-haspopup="true"><span class="glyphicon glyphicon-print"></span> Print</a></li>
<li><a role="menuitem" tabindex="0" href="#" data-target="#panelBookMark" aria-haspopup="true"><span class="glyphicon glyphicon-bookmark"></span> BookMark</a></li>
<li><a role="menuitem" tabindex="0" href="#" id="calciteToggleNavbar" aria-haspopup="true"><span class="glyphicon glyphicon-fullscreen"></span> Full Map</a></li>
</ul>
</div>
<!-- Title -->
<div class="calcite-title calcite-overflow-hidden">
<img class="headerLogo" alt="logo" src="img/Logo1.png">
<span class="calcite-title-main">MoboGIS</span>
<span class="calcite-title-divider hidden-xs"></span>
<span class="calcite-title-sub hidden-xs">USA Administrative Demo Map</span>
</div>
<ul class="nav navbar-nav calcite-nav">
<li>
<div class="calcite-navbar-search calcite-search-expander">
<div id="searchWidgetDiv"></div>
</div>
</li>
</ul>
</nav>
<!--/.calcite-navbar -->
<!-- Map -->
<div class="calcite-map calcite-map-absolute">
<div id="mapViewDiv"></div>
</div>
<!-- /.calcite-map -->
<!-- Feature Editing Main Div Ends here -->
<!-- Panels -->
<div class="calcite-panels calcite-panels-right calcite-text-light calcite-bg-dark panel-group">
<!-- Panel - Basemaps -->
<div id="panelBasemaps" class="panel collapse">
<div id="headingBasemaps" class="panel-heading" role="tab">
<div class="panel-title">
<a class="panel-toggle collapsed" role="button" data-toggle="collapse" href="#collapseBasemaps" aria-expanded="false" aria-controls="collapseBasemaps"><span class="glyphicon glyphicon-th-large" aria-hidden="true"></span><span class="panel-label">Basemaps</span></a>
<a class="panel-close" role="button" data-toggle="collapse" tabindex="0" href="#panelBasemaps"><span class="esri-icon esri-icon-close" aria-hidden="true"></span></a>
</div>
</div>
<div id="collapseBasemaps" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingBasemaps">
<div class="panel-body">
<select id="selectBasemapPanel" class="form-control">
<option value="streets" data-vector="e-streets">Streets</option>
<option value="satellite" data-vector="e-satellite" selected>Satellite</option>
<option value="hybrid" data-vector="e-hybrid">Hybrid</option>
<option value="terrain" data-vector="e-terrain">Terrain</option>
<option value="topo" data-vector="e-topo">Topographic</option>
</select>
</div>
</div>
</div>
<div id="panelInfo" class="panel collapse">
<div id="headingInfo" class="panel-heading" role="tab">
<div class="panel-title">
<a class="panel-toggle" role="button" data-toggle="collapse" href="#collapseInfo" aria-expanded="true" aria-controls="collapseInfo"><span class="glyphicon glyphicon-info-sign" aria-hidden="true"></span><span class="panel-label">About</span></a>
<a class="panel-close" role="button" data-toggle="collapse" tabindex="0" href="#panelInfo"><span class="esri-icon esri-icon-close" aria-hidden="true"></span></a>
</div>
</div>
<div id="collapseInfo" class="panel-collapse collapse in" role="tabpanel" aria-labelledby="headingInfo">
<div class="panel-body">
<img src="img/logo.jpg" alt="MOHAMMAD NASIM" style="width:50%;display: block;margin-left: auto;margin-right: auto" >
<br>
<h5>Welcome to Official MoboGIS Version 3.2.0.1 Dated 11-Aug-2020 : A GIS Map Viewer based on ArcGIS JavaScript API 10.X</h5>
<br>
<p style="text-align:justify">This product is dedicated to a secure and sustainable GIS Basic Map Novel Work written by Mohammad Nasim. In line with Vision of ensuring high quality, sustainable and reliable code work for the people.</p>
<br>
<p style="text-align:justify">Vision: An innovative GIS Map responsive application that boost software development life, strengthens our communities, and gives knowledge full resources for future generations.</p>
<br>
<p style="text-align:justify">Our Values: STARS --> Service, Teamwork, Accountability, Respect and Safety</p>
<br>
<p style="text-align:justify">With your feedback, we can make this web application more useful and interactive.</p>
<br>
<p style="text-align:justify">Communicate with me: Landline- +968 91335738 – Mohammad Nasim - mnasimsiddiqui@gmail.com</p>
</div>
</div>
</div>
<!-- Panel - Legend -->
<div id="panelLegend" class="panel collapse">
<div id="headingLegend" class="panel-heading" role="tab">
<div class="panel-title">
<a class="panel-toggle" role="button" data-toggle="collapse" href="#collapseLegend" aria-expanded="false" aria-controls="collapseLegend"><span class="glyphicon glyphicon-list-alt" aria-hidden="true"></span><span class="panel-label">Legend</span></a>
<a class="panel-close" role="button" data-toggle="collapse" tabindex="0" href="#panelLegend"><span class="esri-icon esri-icon-close" aria-hidden="true"></span></a>
</div>
</div>
<div id="collapseLegend" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingLegend">
<div class="panel-body">
<div id="legendDiv"></div>
</div>
</div>
</div>
<!-- Panel - LayerList -->
<div id="panelLayerList" class="panel collapse">
<div id="headingLayerList" class="panel-heading" role="tab">
<div class="panel-title">
<a class="panel-toggle" role="button" data-toggle="collapse" href="#collapseLayerList" aria-expanded="false" aria-controls="collapseLayerList"><span class="glyphicon glyphicon-list-alt" aria-hidden="true"></span><span class="panel-label">LayerList</span></a>
<a class="panel-close" role="button" data-toggle="collapse" tabindex="0" href="#panelLayerList"><span class="esri-icon esri-icon-close" aria-hidden="true"></span></a>
</div>
</div>
<div id="collapseLayerList" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingLayerList">
<div class="panel-body">
<div id="LayerListDiv"></div>
</div>
</div>
</div>
<!-- Panel - Print -->
<div id="panelPrint" class="panel collapse">
<div id="headingPrint" class="panel-heading" role="tab">
<div class="panel-title">
<a class="panel-toggle" role="button" data-toggle="collapse" href="#collapsePrint" aria-expanded="false" aria-controls="collapsePrint"><span class="glyphicon glyphicon-list-alt" aria-hidden="true"></span><span class="panel-label">Print</span></a>
<a class="panel-close" role="button" data-toggle="collapse" tabindex="0" href="#panelPrint"><span class="esri-icon esri-icon-close" aria-hidden="true"></span></a>
</div>
</div>
<div id="collapsePrint" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingPrint">
<div class="panel-body">
<div id="PrintDiv"></div>
</div>
</div>
</div>
<!-- Panel - Sketch -->
<div id="panelSketch" class="panel collapse">
<div id="headingSketch" class="panel-heading" role="tab">
<div class="panel-title">
<a class="panel-toggle" role="button" data-toggle="collapse" href="#collapseSketch" aria-expanded="false" aria-controls="collapseSketch"><span class="glyphicon glyphicon-list-alt" aria-hidden="true"></span><span class="panel-label">Sketch</span></a>
<a id="closeIconSketch" class="panel-close" role="button" data-toggle="collapse" tabindex="0" href="#panelSketch"><span class="esri-icon esri-icon-close" aria-hidden="true"></span></a>
</div>
</div>
<div id="collapseSketch" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingSketch">
<div class="panel-body">
<div id="SketchDiv"></div>
</div>
</div>
</div>
<!-- Panel - Measurement -->
<div id="panelMeasurement" class="panel collapse">
<div id="headingMeasurement" class="panel-heading" role="tab">
<div class="panel-title">
<a class="panel-toggle" role="button" data-toggle="collapse" href="#collapseMeasurement" aria-expanded="false" aria-controls="collapseMeasurement"><span class="glyphicon glyphicon-list-alt" aria-hidden="true"></span><span class="panel-label">Measurement</span></a>
<a id="closeIconMeasurement" class="panel-close" role="button" data-toggle="collapse" tabindex="0" href="#panelMeasurement"><span class="esri-icon esri-icon-close" aria-hidden="true"></span></a>
</div>
</div>
<div id="collapseMeasurement" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingMeasurement">
<div class="panel-body">
<div id="MeasurementDiv">
<button class="action-button esri-icon-minus" id="distanceButton" type="button" title="Measure distance between two or more points"></button>
<button class="action-button esri-icon-polygon" id="areaButton" type="button" title="Measure area"></button>
</div>
</div>
</div>
</div>
<!-- Panel - CoordinateConversion -->
<div id="panelCoordinateConversion" class="panel collapse">
<div id="headingCoordinateConversion" class="panel-heading" role="tab">
<div class="panel-title">
<a class="panel-toggle" role="button" data-toggle="collapse" href="#collapseCoordinateConversion" aria-expanded="false" aria-controls="collapseCoordinateConversion"><span class="glyphicon glyphicon-list-alt" aria-hidden="true"></span><span class="panel-label">CoordinateConversion</span></a>
<a id="closeIconCoordinateConversion" class="panel-close" role="button" data-toggle="collapse" tabindex="0" href="#panelCoordinateConversion"><span class="esri-icon esri-icon-close" aria-hidden="true"></span></a>
</div>
</div>
<div id="collapseCoordinateConversion" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingCoordinateConversion">
<div class="panel-body">
<div id="CoordinateConversionDiv" style="width:100%"></div>
</div>
</div>
</div>
<!-- Panel - BookMark -->
<div id="panelBookMark" class="panel collapse">
<div id="headingBookMark" class="panel-heading" role="tab">
<div class="panel-title">
<a class="panel-toggle" role="button" data-toggle="collapse" href="#collapseBookMark" aria-expanded="false" aria-controls="collapseBookMark"><span class="glyphicon glyphicon-list-alt" aria-hidden="true"></span><span class="panel-label">BookMark</span></a>
<a class="panel-close" role="button" data-toggle="collapse" tabindex="0" href="#panelBookMark"><span class="esri-icon esri-icon-close" aria-hidden="true"></span></a>
</div>
</div>
<div id="collapseBookMark" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingBookMark">
<div class="panel-body">
<div id="BookMarkDiv"></div>
</div>
</div>
</div>
</div>
<!-- /.calcite-panels -->
<script type="text/javascript">
var dojoConfig = {
packages: [{
name: "bootstrap",
location: calCitemapServices.dojoBootstrapUrl
},
{
name: "calcite-maps",
location: calCitemapServices.dojoUrl
}]
};
</script>
<!-- ArcGIS JS 4 -->
<script src = "https://js.arcgis.com/4.14/"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script language="JavaScript" type="text/javascript" src="js/mapCore2D.js"></script>
</body>
</html>