<br><font size=2 face="sans-serif">I think Andreas meant</font>
<br>
<table width=100%>
<tr valign=top>
<td width=100%><font size=3 face="Verdana">{ <br>
layers: 'topp:Studentenwohnheime', <br>
transparent: 'true', <br>
format: 'image/gif' <br>
} ,{srs: 'EPSG:31467'}</font>
<br><font size=3 face="Verdana">See the constructor parameters</font>
<br><font size=3 face="Verdana">http://dev.openlayers.org/apidocs/files/OpenLayers/Layer/WMS-js.html#OpenLayers.Layer.WMS.OpenLayers.Layer.WMS</font>
<br>
<br>
<br><font size=3 face="Verdana">Also, you can try putting this line </font>
<table width=100%>
<tr valign=top>
<td width=100%><font size=3 face="Verdana">map.addLayers([wms, studiwohn]);
</font>
<br><font size=3 face="Verdana">after the var info statement. For some
reason it worked for me but I have no explanation. I'd like to know why.</font>
<br>
<br><font size=3 face="Verdana">Also, do you use mapserver? do you have
a template key define in your layers?</font>
<br><font size=3 face="Verdana">Steve</font></table>
<br></table>
<br><font size=2 face="sans-serif"><br>
</font><font size=3 color=#0066ff><i>Steve Toutant, M. Sc.</i></font><font size=3><br>
Analyste en géomatique<br>
Secteur environnement<br>
Direction des risques biologiques, environnementaux et occupationnels<br>
Institut national de santé publique du Québec<br>
945, avenue Wolfe<br>
Québec, Qc G1V 5B3 </font>
<p><font size=3>Tél.: (418) 650-5115 #5281<br>
Fax.: (418) 654-3144</font><font size=3 color=blue><u><br>
</u></font><a href=mailto:steve.toutant@inspq.qc.ca><font size=3 color=blue><u>steve.toutant@inspq.qc.ca</u></font></a><font size=3 color=blue><u><br>
</u></font><a href=http://www.inspq.qc.ca/><font size=3 color=blue><u>http://www.inspq.qc.ca</u></font></a>
<p><font size=3>&nbsp; </font>
<p>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>Dominik Wiedner &lt;dominikwiedner@web.de&gt;@openlayers.org</b>
</font>
<br><font size=1 face="sans-serif">Envoyé par : users-bounces@openlayers.org</font>
<p><font size=1 face="sans-serif">03/09/2009 12:19 PM</font>
<td width=59%>
<table width=100%>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">A</font></div>
<td><font size=1 face="sans-serif">users@openlayers.org</font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">Objet</font></div>
<td><font size=1 face="sans-serif">Re: [OpenLayers-Users] WMSGetFeatureInfo
doesnt seem to work</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br>
<br>
<br><tt><font size=2><br>
Hi Andreas,<br>
<br>
So in what part of my code would this definition have to be made?<br>
<br>
Kind regards,<br>
Dominik<br>
<br>
-- <br>
View this message in context: http://n2.nabble.com/WMSGetFeatureInfo-doesnt-seem-to-work-tp3561729p3574372.html<br>
Sent from the OpenLayers Users mailing list archive at Nabble.com.<br>
_______________________________________________<br>
Users mailing list<br>
Users@openlayers.org<br>
http://openlayers.org/mailman/listinfo/users<br>
</font></tt>
<br>
<br>
<br>