[OpenLayers-Commits] r11597 - trunk/openlayers/examples

commits-20090109 at openlayers.org commits-20090109 at openlayers.org
Tue Mar 1 08:51:07 EST 2011


Author: ahocevar
Date: 2011-03-01 05:51:07 -0800 (Tue, 01 Mar 2011)
New Revision: 11597

Modified:
   trunk/openlayers/examples/spherical-mercator.html
Log:
removing unneeded arguments from extent.clone

Modified: trunk/openlayers/examples/spherical-mercator.html
===================================================================
--- trunk/openlayers/examples/spherical-mercator.html	2011-03-01 13:31:06 UTC (rev 11596)
+++ trunk/openlayers/examples/spherical-mercator.html	2011-03-01 13:51:07 UTC (rev 11597)
@@ -32,7 +32,7 @@
 
 function init(){
     var maxExtent = new OpenLayers.Bounds(-20037508, -20037508, 20037508, 20037508),
-        restrictedExtent = maxExtent.clone(-20037508, -20037508, 20037508, 20037508),
+        restrictedExtent = maxExtent.clone(),
         maxResolution = 156543.0339;
     
     var options = {



More information about the Commits mailing list