Hi,

i created my wms server and i test them with a GetCapabilities and GetMap REQUEST :
 
 
 
and my tests is ok.
 
now, i want to displat data with openlayers.
 
i tested this code but it doesn't work.
 
map = new OpenLayers.Map( 'map' );
layer = new OpenLayers.Layer.MapServer("ol demo",
                    "http://localhost:81/cgi-bin/mapserv.exe?map=C:\OLWebSite\App_Data\olvbmapfilel.map&", {Layers:'compfun',SRS:'EPSG:32632'} );

see result in attachement.
 
can any one help me plz?
do you have an exemple for displayind data with openlayers based on mapfile?
 
Best regards,
Youness ELMEDRAOUI
Les informations figurant sur cet e-mail ont un caractère strictement confidentiel et sont exclusivement adressées au destinataire mentionné ci-dessus.Tout usage, reproduction ou divulgation de cet e-mail est strictement interdit si vous n'en êtes pas le destinataire.Dans ce cas, veuillez nous en avertir immédiatement par la même voie et détruire l'original. Merci

<<attachment: openlayersDisplayData.JPG>>

_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to