Declare zoomChanged.

The zoomChanged variable has been undeclared since d42eec9775, causing closure compiler to fail.
This commit is contained in:
Tim Schaub
2012-01-17 23:04:20 -07:00
parent 37d21272b7
commit b910a5f4d0

View File

@@ -562,7 +562,7 @@ OpenLayers.Layer = OpenLayers.Class({
var extent = this.getExtent();
if (extent && this.inRange && this.visibility) {
zoomChanged = this.resolution == null ||
var zoomChanged = this.resolution == null ||
this.resolution !== this.map.getResolution();
this.moveTo(extent, zoomChanged, false);
this.events.triggerEvent("moveend",