From dcaefea3cc6c50dc5da8a32cb3d241958a6266d4 Mon Sep 17 00:00:00 2001 From: Peter Robins Date: Sat, 5 Jan 2013 16:23:31 +0000 Subject: [PATCH] Map: correct docs for maxExtent --- lib/OpenLayers/Map.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/OpenLayers/Map.js b/lib/OpenLayers/Map.js index ba7e7006fe..e185adf75c 100644 --- a/lib/OpenLayers/Map.js +++ b/lib/OpenLayers/Map.js @@ -315,12 +315,12 @@ OpenLayers.Map = OpenLayers.Class({ * APIProperty: maxExtent * {|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 instead. The value - * for 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 instead. + * The value for will change calculations for tile URLs. */ maxExtent: null,