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

commits-20090109 at openlayers.org commits-20090109 at openlayers.org
Mon Apr 4 13:11:17 EDT 2011


Author: tschaub
Date: 2011-04-04 10:11:14 -0700 (Mon, 04 Apr 2011)
New Revision: 11870

Modified:
   trunk/openlayers/examples/wmc.html
Log:
The tileOrigin property is not read or written in WMC docs (see #3245).

Modified: trunk/openlayers/examples/wmc.html
===================================================================
--- trunk/openlayers/examples/wmc.html	2011-04-04 16:48:55 UTC (rev 11869)
+++ trunk/openlayers/examples/wmc.html	2011-04-04 17:11:14 UTC (rev 11870)
@@ -26,16 +26,12 @@
         var doc, context, map;
         
         function init() {
-            var options = {
-                maxExtent: new OpenLayers.Bounds(-130, 14, -60, 55)
-            };
-            map = new OpenLayers.Map("map", options);
+            map = new OpenLayers.Map("map");
 
             var gwc = new OpenLayers.Layer.WMS(
                 "Global Imagery",
                 "http://maps.opengeo.org/geowebcache/service/wms",
-                {layers: "bluemarble"},
-                {tileOrigin: new OpenLayers.LonLat(-180, -90)}
+                {layers: "bluemarble"}
             );
 
             var vmap = new OpenLayers.Layer.WMS(



More information about the Commits mailing list