This is something some of us already encountered.
It would be probably useful to have a css rule set for the ol layer div.
I'll open a ticket.

http://trac.openlayers.org/attachment/ticket/1610

Regards,
Pierre

On Thu, Jul 3, 2008 at 2:45 AM, Steve Lime <[EMAIL PROTECTED]> wrote:
> It turns out the table cell holding the map div had align=center and that was 
> enough
> to throw things out of whack in IE. I updated my test case to show the 
> problem just in
> case anyone thinks this is a bug in OL and not just a quirk in IE.
>
> Steve
>
>>>> "Steve Lime" <[EMAIL PROTECTED]> 07/01/08 11:11 PM >>>
> Hi folks: I'm converting an older application that uses table layouts to OL 
> (v. 2.6) and have everything working nicely except for an issue with a vector 
> layer. I've setup a simple measure function using the draw feature control. 
> In IE however the feature is offset in the x direction from the actual mouse 
> position by 100+ pixels, there is no y offset. The mouse move event handler 
> seems to be reporting the correct mouse position it's just that the vector 
> feature itself is displaced.
>
> I don't have permission to share the app with the world as yet. I did try to 
> create a test case but haven't been able to recreate the problem with a 
> simple example. A link to the test case is:
>
>  http://qpublic5.qpublic.net/fl_nassau/ol/test.html
>
> It shows the general application layout. The map itself stretches or shrinks 
> to fill the space between fixed interface elements. Again, the test works in 
> IE. It starts with the area control active. Imagine the vector feature a 
> hundred pixels to the right of the mouse and you've got a good picture of how 
> this is broken in the main app. Works fine in Firefox and Safari. I've tried 
> IE6 and 7 on XP.
>
> Any ideas on what could cause such a shift?
>
> Steve
> _______________________________________________
> Users mailing list
> [email protected]
> http://openlayers.org/mailman/listinfo/users
>
> _______________________________________________
> Users mailing list
> [email protected]
> http://openlayers.org/mailman/listinfo/users
>
_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users

Reply via email to