Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
minerva
core
Commits
c6646fc5
Commit
c6646fc5
authored
Aug 14, 2019
by
Piotr Gawron
Browse files
clear button hides reaction info window
parent
ecb18189
Pipeline
#12771
passed with stage
in 13 minutes and 41 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
CHANGELOG
View file @
c6646fc5
...
...
@@ -3,6 +3,7 @@ minerva (13.1.3) stable; urgency=medium
page (#870)
* Bug fix: submap list must be selected to export from every submap (#874)
* Bug fix: export map as image properly uses bottom limit (#875)
* Bug fix: reaction info window wasn'
t
closed
on
CLEAR
(#
876
)
--
Piotr
Gawron
<
piotr
.
gawron
@
uni
.
lu
>
Wed
,
14
Aug
2019
17
:
00
:
00
+
0200
...
...
frontend-js/src/main/js/map/canvas/OpenLayers/OpenLayerPolyline.js
View file @
c6646fc5
...
...
@@ -12,6 +12,8 @@ function OpenLayerPolyline(options) {
var
self
=
this
;
self
.
registerListenerType
(
"
onHide
"
);
if
(
options
.
strokeColor
===
undefined
)
{
options
.
strokeColor
=
"
#000000
"
;
}
...
...
@@ -74,7 +76,8 @@ OpenLayerPolyline.prototype.show = function () {
};
OpenLayerPolyline
.
prototype
.
hide
=
function
()
{
return
this
.
getOpenLayersPolyline
().
setStyle
(
new
ol
.
style
.
Style
({}));
this
.
getOpenLayersPolyline
().
setStyle
(
new
ol
.
style
.
Style
({}));
return
this
.
callListeners
(
"
onHide
"
);
};
OpenLayerPolyline
.
prototype
.
isShown
=
function
()
{
...
...
frontend-js/src/main/js/map/marker/MarkerSurfaceCollection.js
View file @
c6646fc5
...
...
@@ -228,7 +228,12 @@ MarkerSurfaceCollection.prototype.createSurfaceForDbOverlay = function (element,
onClick
:
onclickFunctions
});
result
.
addListener
(
"
onClick
"
,
function
()
{
return
map
.
getTopMap
().
openInfoWindowForIdentifiedElement
(
element
);
return
map
.
getTopMap
().
openInfoWindowForIdentifiedElement
(
element
).
then
(
function
(
infoWindow
)
{
result
.
getMapCanvasObjects
()[
0
].
addListener
(
"
onHide
"
,
function
()
{
return
infoWindow
.
_infoWindow
.
hide
();
});
return
infoWindow
;
});
});
self
.
putSurface
({
element
:
element
,
overlay
:
dbOverlay
},
result
);
if
(
self
.
getMap
().
isInitialized
())
{
...
...
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