[OpenLayers-Users] vector popups misaligned after resize &
switching of google layers (with fix for Ticket #1797 applied)
RFeagin
ryan.feagin at PEACHTREEGEOGRAPHICS.COM
Mon Apr 20 13:10:43 EDT 2009
The google resizing and switching layers(Ticket #1797) has been a problem for
me in one of my applications. I saw that 2.8 RC1 had a fix for it, so I
grabbed the google.js from the 2.8 RC1 and tried using it with my 2.7 code.
I didn't see anything in the changes that looked like it would cause a
problem.
Here is what I ran into... I have a point vector layer with hover popups
using SelectFeature on top of google layers with sphericalMercator = true.
When I follow the steps listed on the ticket to test the fix, the map now
resizes correctly (thanks) but the first time I hover over a vector, the
popup is in the wrong location. So it looks like the map tiles and vectors
are realigning after the resize, but the popups aren't.
--
View this message in context: http://n2.nabble.com/vector-popups-misaligned-after-resize---switching-of-google-layers-%28with-fix-for-Ticket--1797-applied%29-tp2664930p2664930.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
More information about the Users
mailing list