Always left justify the renderer extent.
This commit is contained in:
@@ -125,6 +125,9 @@ OpenLayers.Renderer = OpenLayers.Class({
|
||||
*/
|
||||
setExtent: function(extent, resolutionChanged) {
|
||||
this.extent = extent.clone();
|
||||
if (this.map.baseLayer && this.map.baseLayer.wrapDateLine) {
|
||||
this.extent = extent.wrapDateLine(this.map.getMaxExtent());
|
||||
}
|
||||
if (resolutionChanged) {
|
||||
this.resolution = null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user