From 3e163910f70011767071282c9c23e783fe9dac1e Mon Sep 17 00:00:00 2001 From: tschaub Date: Tue, 25 Oct 2011 17:20:12 -0600 Subject: [PATCH] Tweak maxExtent docs to link to restrictedExtent. --- lib/OpenLayers/Map.js | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/lib/OpenLayers/Map.js b/lib/OpenLayers/Map.js index cb2163c867..8ce24e374d 100644 --- a/lib/OpenLayers/Map.js +++ b/lib/OpenLayers/Map.js @@ -299,14 +299,11 @@ 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. 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 instead. The value + * for will change calculations for tile URLs. */ maxExtent: null,