Tweak maxExtent docs to link to restrictedExtent.
This commit is contained in:
@@ -299,14 +299,11 @@ OpenLayers.Map = OpenLayers.Class({
|
|||||||
/**
|
/**
|
||||||
* APIProperty: maxExtent
|
* APIProperty: maxExtent
|
||||||
* {<OpenLayers.Bounds>} The maximum extent for the map. Defaults to the
|
* {<OpenLayers.Bounds>} The maximum extent for the map. Defaults to the
|
||||||
* whole world in decimal degrees
|
* whole world in decimal degrees (-180, -90, 180, 90). Specify a
|
||||||
* (-180, -90, 180, 90). Specify a different
|
* different extent in the map options if you are not using a geographic
|
||||||
* extent in the map options if you are not using a
|
* projection and displaying the whole world. To restrict user panning
|
||||||
* geographic projection and displaying the whole
|
* and zooming of the map, use <restrictedExtent> instead. The value
|
||||||
* world. To restrict user panning and
|
* for <maxExtent> will change calculations for tile URLs.
|
||||||
* zooming of the map, use restrictedExtent instead.
|
|
||||||
* The value for maxExtent will change calculations for
|
|
||||||
* tile URLs.
|
|
||||||
*/
|
*/
|
||||||
maxExtent: null,
|
maxExtent: null,
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user