Fix for rendering custom symbols with aspect ratio differnt than 1.
r=pgiraud (closes #1836) git-svn-id: http://svn.openlayers.org/trunk/openlayers@9665 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -947,8 +947,8 @@ OpenLayers.Renderer.VML = OpenLayers.Class(OpenLayers.Renderer.Elements, {
|
||||
symbolExtent.bottom = symbolExtent.bottom - diff;
|
||||
symbolExtent.top = symbolExtent.top + diff;
|
||||
} else {
|
||||
symbolExtent.left = symbolExtent.left - diff;
|
||||
symbolExtent.right = symbolExtent.right + diff;
|
||||
symbolExtent.left = symbolExtent.left + diff;
|
||||
symbolExtent.right = symbolExtent.right - diff;
|
||||
}
|
||||
|
||||
cache = {
|
||||
|
||||
Reference in New Issue
Block a user