diff --git a/lib/OpenLayers/Layer.js b/lib/OpenLayers/Layer.js index 05747f2cbf..762f00c1e3 100644 --- a/lib/OpenLayers/Layer.js +++ b/lib/OpenLayers/Layer.js @@ -561,7 +561,7 @@ OpenLayers.Layer = OpenLayers.Class({ var extent = this.getExtent(); if (extent && this.inRange && this.visibility) { - var zoomChanged = this.resolution == null || + zoomChanged = this.resolution == null || this.resolution !== this.map.getResolution(); this.moveTo(extent, zoomChanged, false); this.events.triggerEvent("moveend",