On Fri, Mar 13, 2009 at 08:25:09AM +0100, Guillaume Sueur wrote: > Hi, > > The first one uses WMS and the second one is directly hitting the > mapfile. For performance, security, robustness and so I would suggest to > use WMS, but if you don't care about all these (and you can) just use > .MapServer and use it like your old cgi buddy !
Please don't use Layer.MapServer unless you have to. It is really only there for pople who are uanble to configure the server side of their MapSever to act as a WMS, and it will cause you more pain than you will gain. > Regards > > Guillaume > > MeLv1n wAuRaN a écrit : > > hi all, > > > > what's the difference between OpenLayers.Layer.WMS and > > OpenLayers.Layer.MapServer? i'm using a mapserver cgi to render my > > mapfile. so, which one should i use? the wms or the mapserver? > > > > > > ------------------------------------------------------------------------ > > > > _______________________________________________ > > Users mailing list > > [email protected] > > http://openlayers.org/mailman/listinfo/users > _______________________________________________ > Users mailing list > [email protected] > http://openlayers.org/mailman/listinfo/users -- Christopher Schmidt MetaCarta _______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
