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