Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
V
VIPS Observation App DEPRECATED
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
VIPS
VIPS Observation App DEPRECATED
Commits
d4f3a567
Commit
d4f3a567
authored
4 years ago
by
Bhabesh Bhabani Mukhopadhyay
Browse files
Options
Downloads
Patches
Plain Diff
Click event map on main observation form should not have any effect
parent
da4f4167
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/components/MapObservation.vue
+13
-2
13 additions, 2 deletions
src/components/MapObservation.vue
with
13 additions
and
2 deletions
src/components/MapObservation.vue
+
13
−
2
View file @
d4f3a567
...
...
@@ -82,8 +82,8 @@ export default {
},
methods
:
{
initMap
(
myLatitude
,
myLongitude
){
//let thisMap
= this.myMap;
let
This
=
this
;
//let thisMap = this.myMap;
let
This
=
this
;
let
urlMap
=
CommonUtil
.
CONST_GPS_URL_NORWAY_MAP
;
let
myGeoInfo
=
this
.
myGeoInfo
;
...
...
@@ -110,6 +110,7 @@ export default {
let
styleFunction
=
function
(
feature
)
{
return
styles
[
feature
.
getGeometry
().
getType
()];
};
let
localIsMyMapPanelVisible
=
this
.
isMyMapPanelVisible
;
fetch
(
urlMap
)
.
then
(
function
(
response
){
...
...
@@ -151,6 +152,9 @@ export default {
This
.
myMap
.
on
([
'
singleclick
'
],
function
(
event
){
if
(
localIsMyMapPanelVisible
)
{
//thisMap.getView().setCenter([latitude,longitude]);
//thisMap.getView().setCenter([latitude,longitude],'EPSG:4326','EPSG:3857');
...
...
@@ -205,6 +209,9 @@ export default {
thisMap.addOverlay(stationMarker);
*/
}
});
//var precisionInput = document.getElementById('precision');
...
...
@@ -380,6 +387,8 @@ export default {
},
selectPOI
(
event
)
{
let
myPOI
=
this
.
poi
;
if
(
event
.
target
.
value
!=
0
)
...
...
@@ -408,6 +417,8 @@ export default {
//});
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment