Improve docs for bounds/lonlat as array
This commit is contained in:
@@ -229,7 +229,11 @@ OpenLayers.Layer = OpenLayers.Class({
|
||||
|
||||
/**
|
||||
* APIProperty: maxExtent
|
||||
* {<OpenLayers.Bounds>} The center of these bounds will not stray outside
|
||||
* {<OpenLayers.Bounds>|Array} If provided as an array, the array
|
||||
* should consist of four values (left, bottom, right, top).
|
||||
* The maximum extent for the layer. Defaults to null.
|
||||
*
|
||||
* The center of these bounds will not stray outside
|
||||
* of the viewport extent during panning. In addition, if
|
||||
* <displayOutsideMaxExtent> is set to false, data will not be
|
||||
* requested that falls completely outside of these bounds.
|
||||
@@ -238,7 +242,9 @@ OpenLayers.Layer = OpenLayers.Class({
|
||||
|
||||
/**
|
||||
* APIProperty: minExtent
|
||||
* {<OpenLayers.Bounds>}
|
||||
* {<OpenLayers.Bounds>|Array} If provided as an array, the array
|
||||
* should consist of four values (left, bottom, right, top).
|
||||
* The minimum extent for the layer. Defaults to null.
|
||||
*/
|
||||
minExtent: null,
|
||||
|
||||
|
||||
Reference in New Issue
Block a user