Map: correct docs for maxExtent
This commit is contained in:
@@ -315,12 +315,12 @@ OpenLayers.Map = OpenLayers.Class({
|
|||||||
* APIProperty: maxExtent
|
* APIProperty: maxExtent
|
||||||
* {<OpenLayers.Bounds>|Array} If provided as an array, the array
|
* {<OpenLayers.Bounds>|Array} If provided as an array, the array
|
||||||
* should consist of four values (left, bottom, right, top).
|
* should consist of four values (left, bottom, right, top).
|
||||||
* The maximum extent for the map. Defaults to the
|
* The maximum extent for the map.
|
||||||
* whole world in decimal degrees (-180, -90, 180, 90). Specify a
|
* Default depends on projection; if this is one of those defined in OpenLayers.Projection.defaults
|
||||||
* different extent in the map options if you are not using a geographic
|
* (EPSG:4326 or web mercator), maxExtent will be set to the value defined there;
|
||||||
* projection and displaying the whole world. To restrict user panning
|
* else, defaults to null.
|
||||||
* and zooming of the map, use <restrictedExtent> instead. The value
|
* To restrict user panning and zooming of the map, use <restrictedExtent> instead.
|
||||||
* for <maxExtent> will change calculations for tile URLs.
|
* The value for <maxExtent> will change calculations for tile URLs.
|
||||||
*/
|
*/
|
||||||
maxExtent: null,
|
maxExtent: null,
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user