[OpenLayers-Trac] Re: [OpenLayers] #2849: selecting a rotated
feature in IE gives a weird behavior
OpenLayers
trac-20090302 at openlayers.org
Wed Sep 22 06:26:59 EDT 2010
#2849: selecting a rotated feature in IE gives a weird behavior
--------------------------+-------------------------------------------------
Reporter: pgiraud | Owner: pgiraud
Type: bug | Status: assigned
Priority: minor | Milestone: 2.11 Release
Component: Renderer.VML | Version: 2.10
Keywords: | State:
--------------------------+-------------------------------------------------
Comment(by pgiraud):
Conditions where bug applies
----------------------------
The problem appears in the specific case where a style is defined with an
externalGraphic, a rotation and only one size parameter (ie. only
graphicHeight, or only graphicWidth).
A workaround is to give the style both graphicHeight and graphicWidth.
Analysis
--------
With some debug, it looks like sometimes node.style.left/width value
changes (from 245px to 240px in my usecase) at the end of the
graphicRotate method.
I suspect that the image loading to get the real image dimension sometimes
fails, but this is just an intuition.
--
Ticket URL: <http://trac.openlayers.org/ticket/2849#comment:3>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer
More information about the Trac
mailing list