It's still using MapServer, so changing layer type shouldn't make a difference. Tuning your MapServer by creating indexing, scale dependent layering, generalizing, etc. will be the things that will make your MapServer faster. Alternatively (or in addition) you could look into a tiling engine like TileCache to prerender tiles.
On Dec 28, 2007 10:47 AM, Maria Panagou <[EMAIL PROTECTED]> wrote: > > I've declared a wms layer using the following syntax, which works fine. > > var quakes = new OpenLayers.Layer.WMS( "Earthquakes", > "http://127.0.0.1:80/cgi-bin/mapserv.exe?", > { map: '../htdocs/mpanagou/Quakes original.map', > transparent:'true', > layers: 'Quakes', > 'format':'png'}, > {'reproject': true}); > > I want to test this, using Mapserver layer instead so I replace new > OpenLayers.Layer.WMS with new OpenLayers.Layer.Mapserver, but the map > won't > show at all. Do I need to use different parameters for the mapserver > layer? > > The reason I want to test that is that WMS layer is too slow. I tried the > untiled or singletile:'true' options but I see no difference. > > -- > View this message in context: > http://www.nabble.com/Mapserver-vs-WMS.layer-tp14528042p14528042.html > Sent from the OpenLayers Users mailing list archive at Nabble.com. > > _______________________________________________ > Users mailing list > Users@openlayers.org > http://openlayers.org/mailman/listinfo/users > -- ************************************ David William Bitner
_______________________________________________ Users mailing list Users@openlayers.org http://openlayers.org/mailman/listinfo/users