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
e6930861
Commit
e6930861
authored
Feb 08, 2019
by
Sergio Adrian Gongora Euan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
view of image in map
parent
56ac094a
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
11 deletions
+16
-11
body.css
catalog/static/catalog/css/body.css
+2
-1
dataRetrieval.js
catalog/static/catalog/js/dataRetrieval.js
+14
-10
No files found.
catalog/static/catalog/css/body.css
View file @
e6930861
...
...
@@ -182,7 +182,8 @@ div .info-product-box {
/*top: 657px;*/
/*left: -552px;*/
top
:
55px
;
left
:
-557px
;
/* left: -557px; */
left
:
-610px
;
height
:
90px
;
background
:
#fff
;
width
:
240%
;
...
...
catalog/static/catalog/js/dataRetrieval.js
View file @
e6930861
...
...
@@ -154,15 +154,19 @@ function erase_input() {
$
(
'#ajax-input'
).
val
(
''
);
}
$
(
"#id_polygon"
).
on
(
'keyup'
,
function
(
e
)
{
if
(
e
.
keyCode
==
13
)
{
// $("#id_polygon").on('keyup', function (e) {
// if (e.keyCode == 13) {
// polygon = $('#id_polygon').val();
// osmap.removePolygon();
// osmap.addWKTPolygon(polygon);
// }
// });
function
showPolygon
(){
polygon
=
$
(
'#id_polygon'
).
val
();
osmap
.
removePolygon
();
osmap
.
addWKTPolygon
(
polygon
);
}
});
}
// this function cleans list of available products
function
erase_product_list_globe
()
{
...
...
@@ -358,7 +362,7 @@ $(document).ready(function () {
event
.
preventDefault
();
erase_product_list_globe
();
var
submit_data
=
$
(
'#product-form'
).
serialize
();
showPolygon
();
showWaitingModal
()
// product request to DB
...
...
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