[mapserver-commits] r7556 - trunk/docs/howto
svn at osgeo.org
svn at osgeo.org
Fri May 2 10:25:34 EDT 2008
Author: Assefa
Date: 2008-05-02 10:25:33 -0400 (Fri, 02 May 2008)
New Revision: 7556
Modified:
trunk/docs/howto/tile_mode.txt
Log:
Minor changes in the examples code
Modified: trunk/docs/howto/tile_mode.txt
===================================================================
--- trunk/docs/howto/tile_mode.txt 2008-05-02 13:33:51 UTC (rev 7555)
+++ trunk/docs/howto/tile_mode.txt 2008-05-02 14:25:33 UTC (rev 7556)
@@ -129,10 +129,10 @@
if (GBrowserIsCompatible()) {
var urlTemplate = 'http://localhost/cgi-bin/mapserv?';
urlTemplate += 'map=/var/map.map&';
- urlTemplate += 'layers=layer1,layer2&';
+ urlTemplate += 'layers=layer1 layer2&';
urlTemplate += 'mode=tile&';
urlTemplate += 'tilemode=gmap&';
- urlTemplate == 'tile={X}+{Y}+{Z}';
+ urlTemplate += 'tile={X}+{Y}+{Z}';
var myLayer = new GTileLayer(null,0,18,{
tileUrlTemplate:urlTemplate,
isPng:true,
@@ -173,10 +173,10 @@
if (GBrowserIsCompatible()) {
var urlTemplate = 'http://localhost/cgi-bin/mapserv?';
urlTemplate += 'map=/var/map.map&';
- urlTemplate += 'layers=layer1,layer2&';
+ urlTemplate += 'layers=layer1 layer2&';
urlTemplate += 'mode=tile&';
urlTemplate += 'tilemode=gmap&';
- urlTemplate == 'tile={X}+{Y}+{Z}';
+ urlTemplate += 'tile={X}+{Y}+{Z}';
var myLayer = new GTileLayer(null,0,18,{
tileUrlTemplate:urlTemplate,
isPng:true,
@@ -224,7 +224,7 @@
var url = "http://localhost/cgi-bin/mapserv?";
url += "map=/var/map.map&";
url += "mode=tile&";
- url += "layers=layer1,layer2&";
+ url += "layers=layer1 layer2&";
url += "tilemode=ve&";
url += "tile=%4";
More information about the mapserver-commits
mailing list