fixed positioning of rotated graphics after zoom change. r=tschaub (closes #2733)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@10639 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -294,7 +294,7 @@ OpenLayers.Renderer.VML = OpenLayers.Class(OpenLayers.Renderer.Elements, {
|
||||
|
||||
// additional rendering for rotated graphics or symbols
|
||||
var rotation = style.rotation;
|
||||
if (rotation !== node._rotation) {
|
||||
if ((rotation !== undefined || node._rotation !== undefined)) {
|
||||
node._rotation = rotation;
|
||||
if (style.externalGraphic) {
|
||||
this.graphicRotate(node, xOffset, yOffset, style);
|
||||
|
||||
Reference in New Issue
Block a user