[Commits] r1977 - sandbox/mapgears/geoext.ux/ux/WMSLayerAdder/examples

commits at geoext.org commits at geoext.org
Tue Mar 16 20:20:56 CET 2010


Author: adube
Date: 2010-03-16 20:20:56 +0100 (Tue, 16 Mar 2010)
New Revision: 1977

Modified:
   sandbox/mapgears/geoext.ux/ux/WMSLayerAdder/examples/WMSLayerAdderInWindowExample.js
Log:
wmslayeradder - windows double backslashes in example

Modified: sandbox/mapgears/geoext.ux/ux/WMSLayerAdder/examples/WMSLayerAdderInWindowExample.js
===================================================================
--- sandbox/mapgears/geoext.ux/ux/WMSLayerAdder/examples/WMSLayerAdderInWindowExample.js	2010-03-16 18:56:25 UTC (rev 1976)
+++ sandbox/mapgears/geoext.ux/ux/WMSLayerAdder/examples/WMSLayerAdderInWindowExample.js	2010-03-16 19:20:56 UTC (rev 1977)
@@ -54,7 +54,9 @@
             data : [
                 ['./data/bdga.xml'],
                 ['./data/wmscap.xml'],
-                ['http://127.0.0.1:9090/cgi-bin/mapserv.exe?map=C:/demo/bdga-mapfish/ms4w/apps/bdga/msp/wms/bdga.map'],
+                // on WINDOZE machines, you need to specify DOUBLE
+                // backslashes for file paths
+                ['http://127.0.0.1:9090/cgi-bin/mapserv.exe?map=C:\\demo\\bdga-mapfish\\ms4w\\apps\\bdga\\msp\\wms\\bdga.map'],
                 ["http://127.0.0.1/cgi-bin/mapserv?map=/home/adube/proj/bdga/msp/wms/bdga.map"],
                 ['http://dev4g.mapgears.com/cgi-bin/mapserv?map=/home/mapgears/proj/geoprisma-demo/map/gmap/gmap75_wms.map']
             ]



More information about the Commits mailing list