Overlay over Google Layer not correctly positioned when zooming, originally
reported by Pfirter Lukas. (Closes #849) This is solving a general problem with overlays + EventPane subclass zoom changes. git-svn-id: http://svn.openlayers.org/trunk/openlayers@4082 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -1086,6 +1086,9 @@ OpenLayers.Map = OpenLayers.Class({
|
||||
|
||||
//send the move call to the baselayer and all the overlays
|
||||
this.baseLayer.moveTo(bounds, zoomChanged, dragging);
|
||||
|
||||
bounds = this.baseLayer.getExtent();
|
||||
|
||||
for (var i = 0; i < this.layers.length; i++) {
|
||||
var layer = this.layers[i];
|
||||
if (!layer.isBaseLayer) {
|
||||
|
||||
Reference in New Issue
Block a user