Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
GeoInt_SIDT
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Mario Chirinos Colunga
GeoInt_SIDT
Commits
bf9bd135
Commit
bf9bd135
authored
Nov 14, 2019
by
irving
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Quita las capas SCL al cambiar a modo de comparación
parent
8b519cae
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
28 additions
and
10 deletions
+28
-10
minimap.js
reports/static/reports/js/minimap.js
+18
-0
aside.html
reports/templates/aside.html
+10
-10
No files found.
reports/static/reports/js/minimap.js
View file @
bf9bd135
...
...
@@ -172,6 +172,24 @@ function compare(labels) {
//desactiva el botón de mostrar la gráfica
$
(
'#showGraph'
).
attr
(
'disabled'
,
true
);
//quita todas las capas SCL y deja sólo TCI
removeLayer
();
changeLayers
(
'TCI'
);
$
(
"#tcicheck"
).
prop
(
"checked"
,
true
);
$
(
"#check-no-data"
).
prop
(
"checked"
,
false
);
$
(
"#check-saturated"
).
prop
(
"checked"
,
false
);
$
(
"#check-shadows"
).
prop
(
"checked"
,
false
);
$
(
"#check-cloud-shadows"
).
prop
(
"checked"
,
false
);
$
(
"#check-vegetation"
).
prop
(
"checked"
,
false
);
$
(
"#check-not-vegetated"
).
prop
(
"checked"
,
false
);
$
(
"#check-water"
).
prop
(
"checked"
,
false
);
$
(
"#check-unclassified"
).
prop
(
"checked"
,
false
);
$
(
"#check-clouds"
).
prop
(
"checked"
,
false
);
$
(
"#check-snow"
).
prop
(
"checked"
,
false
);
map
.
getControls
().
forEach
(
function
(
control
)
{
//checa si ya se añadio el control de comparacion (swipe), si no lo tiene, lo agrega
if
(
control
instanceof
ol
.
control
.
Swipe
)
{
//si ya tiene el control agregado
swipeControl
=
true
;
...
...
reports/templates/aside.html
View file @
bf9bd135
...
...
@@ -219,70 +219,70 @@
</label>
</div>
<div
class=
"form-check submenu"
style=
"display:none"
id=
"sclcheck-no-data"
>
<input
class=
"form-check-input"
type=
"checkbox"
name=
"layer_type"
value=
"SCL_0"
>
<input
class=
"form-check-input"
type=
"checkbox"
name=
"layer_type"
value=
"SCL_0"
id=
"check-no-data"
>
<label
class=
"form-check-label"
>
<i
class=
"fa fa-circle"
aria-hidden=
"true"
style=
"color: #383838"
></i>
&
nbspSCL No Data
</label>
</div>
<div
class=
"form-check submenu"
style=
"display:none"
id=
"sclcheck-saturated"
>
<input
class=
"form-check-input"
type=
"checkbox"
name=
"layer_type"
value=
"SCL_1"
>
<input
class=
"form-check-input"
type=
"checkbox"
name=
"layer_type"
value=
"SCL_1"
id=
"check-saturated"
>
<label
class=
"form-check-label"
>
<i
class=
"fa fa-circle"
aria-hidden=
"true"
style=
"color: #de3d3d"
></i>
&
nbspSCL Saturated
</label>
</div>
<div
class=
"form-check submenu"
style=
"display:none"
id=
"sclcheck-shadows"
>
<input
class=
"form-check-input"
type=
"checkbox"
name=
"layer_type"
value=
"SCL_2"
>
<input
class=
"form-check-input"
type=
"checkbox"
name=
"layer_type"
value=
"SCL_2"
id=
"check-shadows"
>
<label
class=
"form-check-label"
>
<i
class=
"fa fa-circle"
aria-hidden=
"true"
style=
"color: #696767"
></i>
&
nbspSCL Shadows
</label>
</div>
<div
class=
"form-check submenu"
style=
"display:none"
id=
"sclcheck-cloud-shadows"
>
<input
class=
"form-check-input"
type=
"checkbox"
name=
"layer_type"
value=
"SCL_3"
>
<input
class=
"form-check-input"
type=
"checkbox"
name=
"layer_type"
value=
"SCL_3"
id=
"check-cloud-shadows"
>
<label
class=
"form-check-label"
>
<i
class=
"fa fa-circle"
aria-hidden=
"true"
style=
"color: #98775b"
></i>
&
nbspSCL Cloud Shadows
</label>
</div>
<div
class=
"form-check submenu"
style=
"display:none"
id=
"sclcheck-vegetation"
>
<input
class=
"form-check-input"
type=
"checkbox"
name=
"layer_type"
value=
"SCL_4"
>
<input
class=
"form-check-input"
type=
"checkbox"
name=
"layer_type"
value=
"SCL_4"
id=
"check-vegetation"
>
<label
class=
"form-check-label"
>
<i
class=
"fa fa-circle"
aria-hidden=
"true"
style=
"color: #44ba5d"
></i>
&
nbspSCL Vegetation
</label>
</div>
<div
class=
"form-check submenu"
style=
"display:none"
id=
"sclcheck-not-vegetated"
>
<input
class=
"form-check-input"
type=
"checkbox"
name=
"layer_type"
value=
"SCL_5"
>
<input
class=
"form-check-input"
type=
"checkbox"
name=
"layer_type"
value=
"SCL_5"
id=
"check-not-vegetated"
>
<label
class=
"form-check-label"
>
<i
class=
"fa fa-circle"
aria-hidden=
"true"
style=
"color: #fff98b"
></i>
&
nbspSCL Not-Vegetated
</label>
</div>
<div
class=
"form-check submenu"
style=
"display:none"
id=
"sclcheck-water"
>
<input
class=
"form-check-input"
type=
"checkbox"
name=
"layer_type"
value=
"SCL_6"
>
<input
class=
"form-check-input"
type=
"checkbox"
name=
"layer_type"
value=
"SCL_6"
id=
"check-water"
>
<label
class=
"form-check-label"
>
<i
class=
"fa fa-circle"
aria-hidden=
"true"
style=
"color: #659acc"
></i>
&
nbspSCL Water
</label>
</div>
<div
class=
"form-check submenu"
style=
"display:none"
id=
"sclcheck-unclassified"
>
<input
class=
"form-check-input"
type=
"checkbox"
name=
"layer_type"
value=
"SCL_7"
>
<input
class=
"form-check-input"
type=
"checkbox"
name=
"layer_type"
value=
"SCL_7"
id=
"check-unclassified"
>
<label
class=
"form-check-label"
>
<i
class=
"fa fa-circle"
aria-hidden=
"true"
style=
"color: #ababab"
></i>
&
nbspSCL Unclassified
</label>
</div>
<div
class=
"form-check submenu"
style=
"display:none"
id=
"sclcheck-clouds"
>
<input
class=
"form-check-input"
type=
"checkbox"
name=
"layer_type"
value=
"SCL_8"
>
<input
class=
"form-check-input"
type=
"checkbox"
name=
"layer_type"
value=
"SCL_8"
id=
"check-clouds"
>
<label
class=
"form-check-label"
>
<i
class=
"fa fa-circle"
aria-hidden=
"true"
style=
"color: #dddddd"
></i>
&
nbspSCL Clouds
</label>
</div>
<div
class=
"form-check submenu"
style=
"display:none"
id=
"sclcheck-snow"
>
<input
class=
"form-check-input"
type=
"checkbox"
name=
"layer_type"
value=
"SCL_9"
>
<input
class=
"form-check-input"
type=
"checkbox"
name=
"layer_type"
value=
"SCL_9"
id=
"check-snow"
>
<label
class=
"form-check-label"
>
<i
class=
"fa fa-circle"
aria-hidden=
"true"
style=
"color: #ff8afa"
></i>
&
nbspSCL Snow
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment