<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>[postgis-users] pb OpenLayers using a local Mapserver</title>
<meta content="MSHTML 6.00.6001.18203" name="GENERATOR">
</head>
<body>
<div id="idOWAReplyText11759" dir="ltr">
<div dir="ltr"><font face="Tahoma" color="#000000" size="2"></font> </div>
<div dir="ltr"><font face="Tahoma" color="#000000" size="2">did you try this 'just'on mapserver, ie. without OpenLayers...? To me the URL to mapserver just seems to be wrong , I suspect that i.s.o.
</font></div>
<div dir="ltr"><font size="2">  '</font><a href="http://localhost/cgi-bin/mapserv?/projet2009/ICPE.map'" target="_blank"><font size="2">http://localhost/cgi-bin/mapserv?/projet2009/ICPE.map'</font></a><font size="2">,</font><br>
it should read</div>
<div dir="ltr"><font size="2">  '</font><a href="http://localhost/cgi-bin/mapserv?map=/projet2009/ICPE.map'" target="_blank"><font size="2">http://localhost/cgi-bin/mapserv?map=/projet2009/ICPE.map'</font></a><font size="2">,</font><br>
</div>
</div>
<div id="idSignature32124" dir="ltr">
<pre>-- 
Barend Köbben 
International Institute for Geo-information Sciences and  Earth Observation (ITC) 
PO Box 6, 7500AA Enschede (The Netherlands) 
ph: +31-(0)534874253
</pre>
</div>
<div dir="ltr"><br>
<hr tabindex="-1">
<font face="Tahoma" size="2"><b>Van:</b> postgis-users-bounces@postgis.refractions.net namens Quentin Page<br>
<b>Verzonden:</b> zo 8-3-2009 21:14<br>
<b>Aan:</b> postgis-users@postgis.refractions.net<br>
<b>Onderwerp:</b> [postgis-users] pb OpenLayers using a local Mapserver<br>
</font><br>
</div>
<div>
<p><font size="2">Hi,<br>
i have got a problem using openlayers with a mapserver.<br>
It seems that my use of the constructor doesnt work for any reason.<br>
The mapfile which should be viewed has already worked (in PHP).<br>
<br>
Could we help me please ? Is it the good way to create a openlayers ? :/<br>
<br>
var map = new OpenLayers.Map('map');<br>
var wms = new OpenLayers.Layer.WMS( "ICPE",<br>
        '<a href="http://localhost/cgi-bin/mapserv?/projet2009/ICPE.map'">http://localhost/cgi-bin/mapserv?/projet2009/ICPE.map'</a>,<br>
        {layers: 'roads'},<br>
        {singleTile: true, opacity: 0.5, isBaseLayer : true}<br>
        );<br>
map.addLayer(wms);<br>
<br>
Thanks a lots !!!!!<br>
<br>
<br>
<br>
_______________________________________________<br>
postgis-users mailing list<br>
postgis-users@postgis.refractions.net<br>
<a href="http://postgis.refractions.net/mailman/listinfo/postgis-users">http://postgis.refractions.net/mailman/listinfo/postgis-users</a><br>
</font></p>
</div>

<P><FONT color=#808080><FONT size=1><FONT face=Arial>International Institute for 
Geo-Information Science and Earth Observation (ITC)<BR></FONT><FONT 
face=Arial>Chamber of Commerce: 410 27 560</FONT></FONT></FONT></P>
<P><FONT face=Arial><FONT color=#808080><FONT size=1><STRONG>E-mail disclaimer 
</STRONG><BR>The information in this e-mail, including any attachments, is 
intended for the addressee only. If you are not the intended recipient, you are 
hereby notified that any disclosure, copying, distribution or action in relation 
to the content of this information is strictly prohibited. If you have received 
this e-mail by mistake, please delete the message and any attachment and inform 
the sender by return e-mail. ITC accepts no liability for any error or omission 
in the message content or for damage of any kind that may arise as a result of 
e-mail transmission.</FONT></FONT></FONT></P>
</body>
</html>