From d64bbe1cfc02780b13bf775ad4ffb2ebca36d13f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Lemoine?= Date: Wed, 4 Jan 2012 08:47:55 +0100 Subject: [PATCH] better doc strings for Layer.resolution --- lib/OpenLayers/Layer.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/lib/OpenLayers/Layer.js b/lib/OpenLayers/Layer.js index dd6ebd790a..595c51f3f5 100644 --- a/lib/OpenLayers/Layer.js +++ b/lib/OpenLayers/Layer.js @@ -268,9 +268,11 @@ OpenLayers.Layer = OpenLayers.Class({ /** * Property: resolution - * {Float} Current resolution that the layer is drawn in. Used by - * subclasses to determine whether the zoom has changed when calling - * . + * {Float} Current resolution that the layer is drawn in. This is + * used to determine whether the zoom has changed when calling + * from . Subclasses may set this.resolution to + * null prior to calling redraw to force passing zoomChanged + * true to moveTo. */ resolution: null,