[OpenLayers-Commits] r11579 - sandbox/sbrunner/restricted-extent/examples

commits-20090109 at openlayers.org commits-20090109 at openlayers.org
Mon Feb 28 05:19:23 EST 2011


Author: sbrunner
Date: 2011-02-28 02:19:23 -0800 (Mon, 28 Feb 2011)
New Revision: 11579

Modified:
   sandbox/sbrunner/restricted-extent/examples/restricted-extent.html
Log:
update restricted-extent example to view a new issue

Modified: sandbox/sbrunner/restricted-extent/examples/restricted-extent.html
===================================================================
--- sandbox/sbrunner/restricted-extent/examples/restricted-extent.html	2011-02-28 10:12:03 UTC (rev 11578)
+++ sandbox/sbrunner/restricted-extent/examples/restricted-extent.html	2011-02-28 10:19:23 UTC (rev 11579)
@@ -9,7 +9,7 @@
     <script src="../lib/OpenLayers.js"></script>
     <script type="text/javascript">
         var map = null;
-        var extent = new OpenLayers.Bounds(-180, -90, 180, 90);
+        var extent = new OpenLayers.Bounds(0, 0, 180, 90);
 
         function init() {
             var options = {
@@ -68,7 +68,7 @@
         <input type="checkbox" id="toggle" checked="checked"
                onclick="toggleRestrictedExtent();" />
         <label for="toggle">
-            Toggle restricted extent (to [-180, -90, 180, 90]).
+            Toggle restricted extent (to [0, 0, 180, 90]).
         </label>
     
   </body>



More information about the Commits mailing list