-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.html
250 lines (232 loc) · 12.6 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
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
<!DOCTYPE html>
<html lang="en" ng-app="visorINTA" ng-controller="MainController">
<head>
<title>Visor GeoINTA</title>
<meta charset="UTF-8">
<meta name="description" content="El Visor de GeoINTA permite acceder a información geográfica integrada en una única interfaz de Web Mapping combinando diferentes servicios de interoperabilidad de datos geográficos" />
<!-- Styles -->
<link href="./styles/jquery-ui.min.css" type="text/css" rel="stylesheet" />
<link href="./styles/bootstrap.min.css" type="text/css" rel="stylesheet" />
<link href="./styles/bootstrap-select.min.css" type="text/css" rel="stylesheet" />
<link href="./styles/effect-light.min.css" type="text/css" rel="stylesheet" />
<link href="./styles/quantumui.min.css" type="text/css" rel="stylesheet" />
<link href="./styles/font-awesome.min.css" type="text/css" rel="stylesheet" />
<link href="./styles/ol.css" type="text/css" rel="stylesheet" />
<link href="./styles/ol3gm.css" type="text/css" rel="stylesheet" />
<link href="./styles/visor_main.css" type="text/css" rel="stylesheet" />
<link href="./styles/angular-bootstrap-lightbox.min.css" type="text/css" rel="stylesheet" />
<!-- Libs -->
<script src="./lib/jquery.js"></script>
<script src="./lib/jquery-ui.min.js"></script>
<script src="./lib/bootstrap.min.js"></script>
<script src="./lib/angular.min.js"></script>
<script src="./lib/ui-bootstrap-tpls-0.14.2.min.js"></script>
<script src="./lib/angular-bootstrap-lightbox.min.js"></script>
<script src="./lib/angular-route.min.js"></script>
<script src="./lib/angular-sanitize.min.js"></script>
<script src="./lib/angular-animate.min.js"></script>
<script src="./lib/angular-mask.min.js"></script>
<script src="./lib/quantumui.min.js"></script>
<script src="./lib/ol.js"></script>
<script type="text/javascript"
src="https://maps.googleapis.com/maps/api/js?key=AIzaSyAuifkb_a0X1QxD3folof1IXxcgOu8KGh8"></script>
<script src="./lib/ol3gm.js"></script>
<script src="./lib/xml2json.js"></script>
<!-- Main Modules -->
<script src="./scripts/visorModule.js"></script>
<script src="./scripts/tools/draw/draw.module.js"></script>
<script src="./scripts/tools/measure/measure.module.js"></script>
<script src="./scripts/tools/spyLayer/spyLayer.module.js"></script>
<script src="./scripts/tools/swipe/swipe.module.js"></script>
<script src="./scripts/tools/imageFilter/imageFilter.module.js"></script>
<script src="./scripts/tools/importWms/importWms.module.js"></script>
<script src="./scripts/tools/featureInfo/featureInfo.module.js"></script>
<script src="./scripts/tools/gotoxy/gotoxy.module.js"></script>
<!--<script src="./scripts/tools/region/region.module.js"></script>-->
<script src="./scripts/tools/tools.module.js"></script>
<script src="./scripts/controllers/MainController.js"></script>
<script src="./scripts/controllers/SearchController.js"></script>
<!-- Directives -->
<script src="./scripts/directives/MenuDirective.js"></script>
<script src="./scripts/directives/NavbarLayerSelectorDirective.js"></script>
<script src="./scripts/directives/PrintManagerDirective.js"></script>
<script src="./scripts/directives/MapDirective.js"></script>
<script src="./scripts/directives/NavbarSearchDirective.js"></script>
<script src="./scripts/directives/LayerMenuListDirective.js"></script>
<script src="./scripts/directives/SearchInfoBoxDirective.js"></script>
<script src="./scripts/directives/LayerInfoBoxDirective.js"></script>
<script src="./scripts/directives/LayersTreeDirective.js"></script>
<script src="./scripts/directives/ProyectsListDirective.js"></script>
<script src="./scripts/directives/VisorBoxDirective.js"></script>
<script src="./scripts/tools/draw/directives/DrawDirective.js"></script>
<script src="./scripts/tools/measure/directives/MeasureDirective.js"></script>
<script src="./scripts/tools/spyLayer/directives/SpyLayerDirective.js"></script>
<script src="./scripts/tools/swipe/directives/SwipeDirective.js"></script>
<!--<script src="./scripts/tools/imageFilter/directives/ImageFilterDirective.js"></script>-->
<script src="./scripts/tools/importWms/directives/ImportWmsDirective.js"></script>
<script src="./scripts/tools/featureInfo/directives/FeatureInfoDirective.js"></script>
<script src="./scripts/tools/gotoxy/directives/GotoxyDirective.js"></script>
<!--<script src="./scripts/tools/region/directives/RegionDirective.js"></script>-->
<!-- Factories / Services -->
<script src="./scripts/providers/ProyectsFactory.js"></script>
<script src="./scripts/providers/MainInterceptor.js"></script>
<script src="./scripts/utils/LayerUtilsService.js"></script>
<script src="./scripts/utils/MapUtilsService.js"></script>
<script src="./scripts/utils/ProyectUtilsService.js"></script>
<script src="./scripts/providers/services/GeoServerService.js"></script>
<script src="./scripts/providers/services/SearchService.js"></script>
<script src="./scripts/providers/services/VisorBoxManagerService.js"></script>
</head>
<body>
<div class="wrapper"> <!-- wrapper -->
<visor-navbar></visor-navbar>
<nav class="navbar navbar-default" id="visorHeader">
<div class="container-fluid">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="mainNavbarCollapse">
<span class="sr-only">Toggle</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="#">Visor GeoINTA</a>
</div>
<!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse" id="mainNavbarCollapse">
<ul class="nav navbar-nav">
<button type="button" class="btn btn-primary navbar-btn" data-nq-collapse="" data-target-id="#pulldownMenu"> Menu </button>
</ul>
<form class="navbar-form navbar-left" role="search">
<div ng-controller="SearchController">
<navbar-search data='searchdata' max-user-searchs='maxUserSearchs'></navbar-search>
<visor-box id="searchInfoBox" class="toolBox bigInfoBox mapActiveTool">
<search-info-box map='map' data='searchdata' ></search-info-box>
</visor-box>
</div>
</form>
<form class="navbar-form navbar-right">
<navbar-layer-selector layers-list='baseLayers'></navbar-layer-selector>
</form>
</div><!-- /.navbar-collapse -->
</div><!-- /.container-fluid -->
</nav>
<div class="collapse" id="pulldownMenu">
<div class="panel-group" id="menuPanelGroup" role="tablist" aria-multiselectable="true">
<div class="panel panel-default">
<div class="panel-heading menuHeader hvr-glow" role="tab" id="headingOne" data-toggle="collapse" data-parent="#menuPanelGroup" href="#collapseOne" aria-expanded="true" aria-controls="collapseOne">
<h4 class="panel-title" >
<span >
<i class="fa fa-list-ul"></i> Proyectos
</span>
</h4>
</div>
<div id="collapseOne" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingOne">
<!--<div class="panel-body">
Lista proyectos AJAX
</div>-->
<proyect-list proyects='proyects' active-proyect='activeProyect' update-active-proyect='requestActiveProyect()'></proyect-list>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading menuHeader hvr-glow" role="tab" id="headingTwo" data-toggle="collapse" data-parent="#menuPanelGroup" href="#collapseTwo" aria-expanded="false" aria-controls="collapseTwo">
<h4 class="panel-title collapsed" >
<span>
<i class="fa fa-circle-o"></i> Proyecto activo
</span>
</h4>
</div>
<div id="collapseTwo" class="panel-collapse collapse in" role="tabpanel" aria-labelledby="headingTwo">
<div class="panel-body menuPanelConfig">
<layers-tree map='map' tree='activeProyectModel.modelo'></layers-tree>
</div>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading menuHeader hvr-glow" role="tab" id="headingThree" data-toggle="collapse" data-parent="#menuPanelGroup" href="#collapseThree" aria-expanded="false" aria-controls="collapseThree">
<h4 class="panel-title collapsed" >
<span >
<i class="fa fa-wrench"></i> Herramientas
</span>
</h4>
</div>
<div id="collapseThree" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingThree">
<div class="list-group menuPanelConfig">
<a class="list-group-item" ng-click="initBoxAction('featureInfoTool','tool','toogle')">Informacion</a>
<a class="list-group-item" ng-click="initBoxAction('importWmsTool','tool','toogle')">Importar capa WMS</a>
<a class="list-group-item" ng-click="initBoxAction('gotoxyTool','tool','toogle')">Ir a coordenadas</a>
<a class="list-group-item" ng-click="initBoxAction('drawTool','tool','toogle')">Dibujar</a>
<a class="list-group-item" ng-click="initBoxAction('measureTool','tool','toogle')">Medir</a>
<a class="list-group-item"ng-click="initBoxAction('spyLayerTool','tool','toogle')">Espiar capa</a>
<a class="list-group-item" ng-click="initBoxAction('swipeTool','tool','toogle')">Cortina</a>
<!--<a class="list-group-item" ng-click="initBoxAction('regionTool','tool','toogle')">Marcar regiones</a>-->
<!--<a class="list-group-item" ng-click="initBoxAction('imageFilterTool','tool','toogle')">Filtros</a>-->
</div>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading menuHeader hvr-glow" role="tab" id="headingPrint" data-toggle="collapse" data-parent="#menuPanelGroup" href="#collapsePrint" aria-expanded="false" aria-controls="collapsePrint">
<h4 class="panel-title collapsed" >
<span>
<i class="fa fa-print"></i> Imprimir
</span>
</h4>
</div>
<div id="collapsePrint" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingPrint">
<div class="panel-body menuPanelConfig">
<print-manager map='map' layers-list='activeLayers' geoservers='geoServers' imported-layers='importedLayers'></print-manager>
</div>
</div>
</div>
</div> <!-- cierra primer panelgroup -->
<div class="panel-group" id="layersPanelGroup" role="tablist">
<div class="panel panel-default light">
<div class="panel-heading menuHeader hvr-glow" role="tab" id="headingFour" data-toggle="collapse" data-parent="#layersPanelGroup" href="#collapseFour" aria-expanded="false" aria-controls="collapseFour">
<h4 class="panel-title collapsed" >
<span >
<i class="fa fa-database"></i> Capas activas
</span>
</h4>
</div>
<div id="collapseFour" class="panel-collapse collapse menuPanelLayerList" role="tabpanel" aria-labelledby="headingFour">
<layer-menu-list map='map' layers-list='activeLayers' show-checkbox="true"></layer-menu-list>
</div>
</div>
</div>
</div>
<div visor-map id="map" map='map'></div>
<!-- Tools -->
<div id="toolsContainer">
<visor-box id="drawTool" class="toolBox mapActiveTool">
<draw-tool map='map'></draw-tool>
</visor-box>
<visor-box id="measureTool" class="toolBox mapActiveTool">
<measure-tool map='map'></measure-tool>
</visor-box>
<visor-box id="spyLayerTool" class="toolBox mapActiveTool">
<spy-layer-tool map='map' layer-list='activeLayers'></spy-layer-tool>
</visor-box>
<visor-box id="swipeTool" class="toolBox mapActiveTool">
<swipe-tool map='map' layer-list='activeLayers'></swipe-tool>
</visor-box>
<!--<visor-box id="imageFilterTool" class="toolBox">
<image-filter-tool map='map' layer-list='activeLayers'></image-filter-tool>
</visor-box>-->
<visor-box id="importWmsTool" class="toolBox bigToolBox importWMSBox">
<import-wms-tool map='map' layer-list='activeLayers'></import-wms-tool>
</visor-box>
<visor-box id="featureInfoTool" class="toolBox">
<feature-info-tool map='map' layer-list='activeLayers' imported-layers='importedLayers' project-model='activeProyectModel'></feature-info-tool>
</visor-box>
<visor-box id="gotoxyTool" class="toolBox mapActiveTool">
<gotoxy-tool map='map'></gotoxy-tool>
</visor-box>
<!--<visor-box id="regionTool" class="toolBox">
<region-tool map='map' base-layers='baseLayers'></region-tool>
</visor-box>-->
</div>
<!-- Layer Info Box -->
<visor-box id="layerInfoBox" class="toolBox ">
<layer-info-box map='map' active-layer='layerInfoActive'></layer-info-box>
</visor-box>
</body>