htdocs instead of htodcs.... You can use firebug to see the network errors steve
赫玄惠 <xiaoshitou1986...@126.com>@lists.osgeo.org Envoy? par : mapserver-users-boun...@lists.osgeo.org 2011-08-09 04:45 A mapserver-users@lists.osgeo.org cc Objet [mapserver-users] mapserver tilecache I has wrote a mapfile. It can be published successfully with openlayers. But its speed is very slow. So I try to use tilecache to improve the speed. now I have install the tilecache, and it can run with the example.But it doesn't run with my mapfile. Here is the program [road] type=WMS url=http://localhost/cgi-bin/mapserv.exe?map=/ms4w/Apache/htodcs/file/jia1_test.map&transparent=true& layers=build,street extension=png bbox=-180 -90 180 90 maxResolution=0.0439453 srs=EPSG:4326 level=20 the html as follow: layer = new OpenLayers.Layer.WMS( "global", "http://localhost/tilecache-2.10/tilecache.py?", {layers: 'build,street', format: 'image/png' } ); map.addLayer(layer); Anyone can help me,thanks!!! _______________________________________________ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
_______________________________________________ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users