Closed (outdated)
Project:
Openlayers
Version:
6.x-2.0-beta3
Component:
OL Behaviors
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
12 Dec 2011 at 22:50 UTC
Updated:
25 Nov 2021 at 00:02 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
gsquirrelI am trying to get tooltips to work and realise that part of my problem is having clustering switched on, if i switch off clustering my tooltips start to work. I guess I am having the same issue. Are there any alternative clustering methods anyone knows of that might work better?
Comment #2
nod_Not that I know of, you can try tooltip behavior until i or someone else get this fixed :)
Comment #3
zzolo commentedHey @nod_. Did you get any JS errors?
Note that this only happens when you use the pan zoom control buttons. If you pan and zoom with the mouse or mouse wheel it seems to be ok.
Comment #4
finex commented@zzolo: I've reproduced this bug zooming with the mouse wheel.
Comment #5
finex commentedMoreover I've got the following JS error clicking on the close button inside the popup after zooming in or out:
Comment #6
acbramley commented+1 can reproduce this error:
1) Click point to get popup
2) Zoom with mouse
3) Click close button on popup
4) Get the JS error OpenLayers.js:1439 Uncaught TypeError: Cannot read property 'style' of null
Comment #7
Mujtaba Ahmed commentedSame issue
Comment #8
mgiffordHas this been tested on the latest Dev version?
Comment #9
xtr4xtr3m3 commentedI have this issue too using 7.x-2.0-beta1+84-dev.
And tooltips don't work at all if I enable clustering. If I disable clustering, the tooltip works, but since i have 2 markes at the exact same location it glitches and flickers if i move my mouse over it :( any ideas?
Comment #10
brylie commentedI have this same issue, when scrolling the mouse and with the pan/zoom control.
OL 7.x-2.0-beta1
Drupal 7.17
PHP 5.4.8
jQuery Update:
jQuery 1.5.2 and jQuery UI 1.8.11
http://olyville.net
1) click any point (cluster or single)
2) zoom (mouse or zoom button)
3) click the X to close the pop-up
Comment #11
polCould you try with Openlayers 7.x-2.x with Openlayers 2.12 ?
Comment #12
ifrikThe issue as described in #10 is still there, with the dev version from 28 december.
Comment #13
polFixed, needs feedback.
Comment #14
polThe bug is still there.
See: https://github.com/jorix/OL-FeaturePopups/issues/7 it looks like they have the same problem too.
I have contacted them and see if we can have some help from there.
Comment #15
polTo people having problems with popups, could you try this: http://drupal.org/sandbox/Pol/1877914
It's a module adding a new behavior to OL with a new popup handling using an external library.
I'll need feedback on this.
Comment #16
polComment #17
Dave Cohen commentedthis is still a problem in 7.x-2.x.
did you mean to mark it closed won't fix because of the other module?
Comment #18
polI'll look again into it tonight.
Comment #19
polThis should be fixed now in 7.x-2.x and 7.x-3.x.
Comment #20
Darkflash commentedHi,
Even if it's fixed in drupal 7, could i propose a patch for this drupal version (6) ?
Comment #21
polOf course !
Comment #22
Darkflash commentedHere is my 2 cents...
That should do the trick !
This patch is for js/openlayers/lib/OpenLayers/Map.js
I tested at home, can someone confirm it works ?
Best regards,
Dark
Comment #23
polHo it looks like it's for the OpenLayers JS library, then you should open an issue here: https://github.com/openlayers/openlayers/issues
We only use the JS Library, we don't alter it.
Comment #24
Darkflash commentedOk i will do another patch. Where is the file where you generate the js code that use the openlayers lib ?
Comment #25
polCool !
Comment #28
ken-g commented