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
500b4caa
Commit
500b4caa
authored
Nov 14, 2019
by
Luis Dominguez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update, report, Hide Maps, default Noon checked
parent
f1909472
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
minimap.js
reports/static/reports/js/minimap.js
+2
-0
aside.html
reports/templates/aside.html
+1
-1
No files found.
reports/static/reports/js/minimap.js
View file @
500b4caa
MAPBOX_ACCESS_TOKEN
=
'pk.eyJ1IjoibWFwYm94IiwiYSI6ImNpejY4NXVycTA2emYycXBndHRqcmZ3N3gifQ.rJcFIG214AriISLbB6B5aw'
;
MAPBOX_ACCESS_TOKEN
=
'pk.eyJ1IjoibWFwYm94IiwiYSI6ImNpejY4NXVycTA2emYycXBndHRqcmZ3N3gifQ.rJcFIG214AriISLbB6B5aw'
;
MAX_OPACITY
=
1
;
MAX_OPACITY
=
1
;
FIRST_IMAGE_LAYER_INDEX
=
2
;
FIRST_IMAGE_LAYER_INDEX
=
2
;
document
.
getElementById
(
"light"
).
checked
=
true
;
// create wkt polygon
// create wkt polygon
const
wktFormat
=
new
ol
.
format
.
WKT
();
const
wktFormat
=
new
ol
.
format
.
WKT
();
...
@@ -314,6 +315,7 @@ function changeMap(selectedMap) {
...
@@ -314,6 +315,7 @@ function changeMap(selectedMap) {
}
}
function
showControlMap
()
{
function
showControlMap
()
{
if
(
$
(
'#showControlMap'
).
is
(
':visible'
))
{
if
(
$
(
'#showControlMap'
).
is
(
':visible'
))
{
$
(
"#showControlMap"
).
hide
();
$
(
"#showControlMap"
).
hide
();
$
(
"#hideControlMap"
).
show
();
$
(
"#hideControlMap"
).
show
();
...
...
reports/templates/aside.html
View file @
500b4caa
...
@@ -313,7 +313,7 @@
...
@@ -313,7 +313,7 @@
<span>
Streets
</span>
<span>
Streets
</span>
</div>
</div>
<div
class=
"form-check submenu"
onclick=
"changeMap('night')"
>
<div
class=
"form-check submenu"
onclick=
"changeMap('night')"
>
<input
id=
"night"
type=
"radio"
name=
"layerOption"
>
<input
id=
"night"
type=
"radio"
name=
"layerOption"
checked=
""
>
<span>
Night
</span>
<span>
Night
</span>
</div>
</div>
<div
class=
"form-check submenu"
onclick=
"changeMap('cycle')"
>
<div
class=
"form-check submenu"
onclick=
"changeMap('cycle')"
>
...
...
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