[mapserver-commits] r12082 - trunk/docs/_static

svn at osgeo.org svn at osgeo.org
Sun Aug 21 15:42:34 EDT 2011


Author: jmckenna
Date: 2011-08-21 12:42:34 -0700 (Sun, 21 Aug 2011)
New Revision: 12082

Modified:
   trunk/docs/_static/ol.js
Log:
enable mod_geocaching...from Mike and Jeff

Modified: trunk/docs/_static/ol.js
===================================================================
--- trunk/docs/_static/ol.js	2011-08-21 00:16:57 UTC (rev 12081)
+++ trunk/docs/_static/ol.js	2011-08-21 19:42:34 UTC (rev 12082)
@@ -57,8 +57,10 @@
 function olmapinit(){
      
         map = new OpenLayers.Map( 'map' );
+        
+        var wms = new OpenLayers.Layer.WMS( "WMS","http://demo.mapserver.org:8081/geocache?",
 
-        var wms = new OpenLayers.Layer.WMS( "WMS","http://demo.mapserver.org/cgi-bin/foss4g?",
+        //var wms = new OpenLayers.Layer.WMS( "WMS","http://demo.mapserver.org/cgi-bin/foss4g?",
         {
         /*
         var wms = new OpenLayers.Layer.WMS( "WMS",
@@ -67,8 +69,8 @@
                 {map: 'D:/ms4w/apps/osm/map/osm.map',*/
 
 
-        layers: 'default',
-        format: 'aggpng24',
+        layers: 'osm-denver',
+        format: 'png',
         transparent: 'off'},
         {maxExtent: new OpenLayers.Bounds(-105.208290,39.542378,-104.769779,39.980889),
         scales: [5000,10000,25000,50000,100000,250000,500000,
@@ -78,7 +80,6 @@
         ratio:1,
         wrapDateLine: true,
         isBaselayer:true,
-        singleTile:true,
         transitionEffect:'resize'} );     
 
         map.addLayers([wms]);



More information about the mapserver-commits mailing list