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
24dd9f6c
Commit
24dd9f6c
authored
May 28, 2018
by
Emmanuel René Huchim Puc
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
iteraction
parent
86898394
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
sentinel.py
catalog/apis/sentinel.py
+1
-1
sidtMap.js
catalog/static/js/sidtMap.js
+6
-0
No files found.
catalog/apis/sentinel.py
View file @
24dd9f6c
...
...
@@ -11,7 +11,7 @@ class APISentinel():
# "[0 TO 10]" or 95
def
getProducts
(
this
,
area
,
initDate
,
endDate
,
cloudPercentage
):
GeoSentinel_path
=
"/home/
geointdev/sidt-env
/GeoSentinel/geosentinel/APISentinel.py"
GeoSentinel_path
=
"/home/
emmanuelhp/Documentos
/GeoSentinel/geosentinel/APISentinel.py"
# GeoSentinel_path = "/home/emmanuelhp/Documentos/GeoSentinel/geosentinel/APISentinel.py"
api
=
imp
.
load_source
(
'geosentinel'
,
GeoSentinel_path
)
sentinel
=
api
.
APISentinel
(
'emmhp'
,
'geoemm29'
)
...
...
catalog/static/js/sidtMap.js
View file @
24dd9f6c
...
...
@@ -117,6 +117,10 @@ sidtMap.prototype.addInteraction = function()
type
:
"Polygon"
});
this
.
selectPointerMove
=
new
ol
.
interaction
.
Select
({
condition
:
ol
.
events
.
condition
.
pointerMove
});
this
.
interaction
.
on
(
"drawend"
,
function
(
e
){
self
.
showCoords
(
e
.
feature
.
getGeometry
());
});
...
...
@@ -126,6 +130,8 @@ sidtMap.prototype.addInteraction = function()
});
this
.
map
.
addInteraction
(
this
.
interaction
);
this
.
map
.
addInteraction
(
this
.
selectPointerMove
);
}
//------------------------------------------------------------------------------
sidtMap
.
prototype
.
onMousemove
=
function
(
e
)
...
...
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