Tweak maxExtent docs to link to restrictedExtent.

This commit is contained in:
tschaub
2011-10-25 17:20:12 -06:00
parent 8ea4c47a13
commit 3e163910f7

View File

@@ -299,14 +299,11 @@ OpenLayers.Map = OpenLayers.Class({
/**
* APIProperty: maxExtent
* {<OpenLayers.Bounds>} 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.
* 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.
*/
maxExtent: null,