Cross-dateline rendering fixed for SVG and added for VML renderer.
This commit is contained in:
@@ -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;
|
||||
},
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user