better doc strings for Layer.resolution
This commit is contained in:
@@ -268,9 +268,11 @@ OpenLayers.Layer = OpenLayers.Class({
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Property: resolution
|
* Property: resolution
|
||||||
* {Float} Current resolution that the layer is drawn in. Used by
|
* {Float} Current resolution that the layer is drawn in. This is
|
||||||
* subclasses to determine whether the zoom has changed when calling
|
* used to determine whether the zoom has changed when calling
|
||||||
* <moveTo>.
|
* <moveTo> from <redraw>. Subclasses may set this.resolution to
|
||||||
|
* null prior to calling redraw to force passing zoomChanged
|
||||||
|
* true to moveTo.
|
||||||
*/
|
*/
|
||||||
resolution: null,
|
resolution: null,
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user