diff --git a/lib/OpenLayers/Layer.js b/lib/OpenLayers/Layer.js index e405cc4509..e29d602ee2 100644 --- a/lib/OpenLayers/Layer.js +++ b/lib/OpenLayers/Layer.js @@ -226,6 +226,9 @@ OpenLayers.Layer.prototype = { } } this.initResolutions(); + + this.inRange = this.calculateInRange(); + }, /**