From 9af5126c3102b1e6a5193479067bc6121f6039c4 Mon Sep 17 00:00:00 2001 From: Tom MacWright Date: Tue, 25 Oct 2011 17:20:15 -0400 Subject: [PATCH] Improve maxExtent documentation --- lib/OpenLayers/Map.js | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/lib/OpenLayers/Map.js b/lib/OpenLayers/Map.js index 3315494bf3..cb2163c867 100644 --- a/lib/OpenLayers/Map.js +++ b/lib/OpenLayers/Map.js @@ -299,11 +299,14 @@ OpenLayers.Map = OpenLayers.Class({ /** * APIProperty: maxExtent * {} 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. + * 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,