Cross-dateline rendering fixed for SVG and added for VML renderer.

This commit is contained in:
ahocevar
2011-10-08 11:33:35 -04:00
parent 627f32ff39
commit 2cfe6f83c2
4 changed files with 58 additions and 32 deletions

View File

@@ -122,6 +122,11 @@ OpenLayers.Renderer = OpenLayers.Class({
* Parameters:
* extent - {<OpenLayers.Bounds>}
* resolutionChanged - {Boolean}
*
* Returns:
* {Boolean} true to notify the layer that the new extent does not exceed
* the coordinate range, and the features will not need to be redrawn.
* False otherwise.
*/
setExtent: function(extent, resolutionChanged) {
this.extent = extent.clone();
@@ -131,6 +136,7 @@ OpenLayers.Renderer = OpenLayers.Class({
if (resolutionChanged) {
this.resolution = null;
}
return true;
},
/**