chellymehdi / vopenlayers

Automatically exported from code.google.com/p/vopenlayers
0 stars 0 forks source link

Marker Click Listener stops working if Vector Layer VectorSelectedEvent is set #75

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.I have multiple Marker Layers with click listeners on all markers working 
fine.
2.When i add a new Vector Layer with VectorSelectedEvent as listen, all the 
markers click listener stops working.
3.If i hide the vector layer from the layer switcher everything returns to 
normal.

What is the expected output? What do you see instead?
Expected output : the Marker click listener and the Vector item selected 
listener works fine together.

What version of the product are you using? On what operating system?
openlayers-wrapper-1.0.1.jar
Windows7

Please provide any additional information below.

Original issue reported on code.google.com by dany.ro...@gmail.com on 24 May 2012 at 8:43

GoogleCodeExporter commented 9 years ago
I was using Firefox 12 but when i tried it on IE8 it worked, i am able to use 
the two listeners in the same time.
Can you please give me an estimation when the bug will be fixed on firefox.

Thanks

Original comment by dany.ro...@gmail.com on 24 May 2012 at 2:02

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I got a work around. Just put the MarkerLayer on the top of others and all the 
clicks will be listen in all browsers.

Original comment by fabiobar...@gmail.com on 6 Dec 2012 at 1:38

GoogleCodeExporter commented 9 years ago
Hello all,

Software versions:
openlayers-wrapper-1.3.0.jar
Windows7

I can confirm that the reported behaviour by Danny on Firefox 16. In contrast 
using Eclipse internal browser and IE10, works like expected.

Fabio, can you please help understanding the layer order of MarkerLayer to make 
it on the top?
I just tried to add the MarkerLayer at the end to the map and it is below the 
VectorLayer.

Thanks.

Original comment by paraf...@gmail.com on 8 Aug 2013 at 2:00