Ticket #3392 (closed feature: duplicate)

Opened 2 years ago

Last modified 2 years ago

Draw Features broken in IE7 when map is inside div with position:relative and margin

Reported by: ramayer Owned by:
Priority: minor Milestone: 2.12 Release
Component: general Version: 2.10
Keywords: Cc:
State:

Description

Draw Feature seems broken in IE7 if the map is inside a div with position:relative and has a margin. Features seem to be drawn far away from where the mouse is pointing; often completely off the map if the surrounding div had a large margin.

Here's a page showing the brokenness:

 http://0ape.com/tmp/draw-feature-broken-on-ie.html

It's copy of the working

http://openlayers.org/dev/examples/draw-feature.html

example with the addition of one surrounding div.

Works on firefox, chrome, safari; when I try to draw a feature with ie7, it shows up about 50 pixels away from where it should.

Change History

Changed 2 years ago by ahocevar

  • status changed from new to closed
  • resolution set to duplicate

Duplicate of #2247. This is fixed in the current OpenLayers 2.11-rc1 release.

Note: See TracTickets for help on using tickets.