From f5d644733b4e0fddaaa5083c223279c998acbdb5 Mon Sep 17 00:00:00 2001 From: euzuro Date: Fri, 6 Oct 2006 00:13:53 +0000 Subject: [PATCH] once we have set the layer's resolutions array, we can set its inRange git-svn-id: http://svn.openlayers.org/trunk/openlayers@1620 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- lib/OpenLayers/Layer.js | 3 +++ 1 file changed, 3 insertions(+) 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(); + }, /**