[OpenLayers-Trac] [OpenLayers] #3392: Draw Features broken in IE7
when map is inside div with position:relative and margin
OpenLayers
trac-20090302 at openlayers.org
Wed Jun 29 12:34:47 EDT 2011
#3392: Draw Features broken in IE7 when map is inside div with position:relative
and margin
---------------------+------------------------------------------------------
Reporter: ramayer | Owner:
Type: feature | Status: new
Priority: minor | Milestone: 2.12 Release
Component: general | Version: 2.10
Keywords: | State:
---------------------+------------------------------------------------------
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.
--
Ticket URL: <http://trac.openlayers.org/ticket/3392>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer
More information about the Trac
mailing list