do not ignore style.rotation if set to 0 any more. r=crschmidt (closes #1654)

git-svn-id: http://svn.openlayers.org/trunk/openlayers@7672 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
ahocevar
2008-08-01 21:49:44 +00:00
parent 197043d249
commit 7148b10123
2 changed files with 2 additions and 2 deletions

View File

@@ -253,7 +253,7 @@ OpenLayers.Renderer.VML = OpenLayers.Class(OpenLayers.Renderer.Elements, {
}
// additional rendering for rotated graphics or symbols
if (style.rotation) {
if (typeof style.rotation != "undefined") {
if (style.externalGraphic) {
this.graphicRotate(node, xOffset, yOffset);
// make the fill fully transparent, because we now have