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 !
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 > Users@openlayers.org > http://openlayers.org/mailman/listinfo/users _______________________________________________ Users mailing list Users@openlayers.org http://openlayers.org/mailman/listinfo/users