Defaults for featureDx and xOffset.

This is mostly done to make SVG and VML tests pass again, but it may also help existing applications that override setExtent or drawFeature without calling the superclass methods properly.
This commit is contained in:
ahocevar
2011-10-12 08:25:20 +02:00
parent 6af8178452
commit 740e3c4d28
2 changed files with 2 additions and 0 deletions

View File

@@ -384,6 +384,7 @@ OpenLayers.Renderer.Elements = OpenLayers.Class(OpenLayers.Renderer, {
* exceeding the world bounds on the left, we need this offset to make sure
* that the same is true for the renderer extent in pixel space as well.
*/
xOffset: 0,
/**
* Property: rightOfDateLine