Declare zoomChanged.
The zoomChanged variable has been undeclared since d42eec9775, causing closure compiler to fail.
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user