Hello everybody,<br><br>I have 2 layers that are point type and I want users to be able to click on one point (of any layer) and get the information(attributes) related to that point. Here is my code<br><br> var estaciones = new OpenLayers.Layer.WMS(&quot;estaciones&quot;,  <br>
&quot;<a href="http://myurl/cgi-bin/mapserv?MAP=/var/www/amss_wms2.map">http://myurl/cgi-bin/mapserv?MAP=/var/www/amss_wms2.map</a>&quot;, <br>                {layers:&#39;estaciones&#39;, transparent: &quot;true&quot;,format:&quot;image/gif&quot;});<br>
           <br>    var puntos = new OpenLayers.Layer.WMS(&quot;puntos&quot;,<br>                &quot;<a href="http://myurl/cgi-bin/mapserv?MAP=/var/www/amss_wms2.mapl">http://myurl/cgi-bin/mapserv?MAP=/var/www/amss_wms2.mapl</a>&quot;, <br>
                {layers:&#39;puntos&#39;, transparent: &quot;true&quot;,format:&quot;image/gif&quot;});<br><br>so far what I was using was a text layer to generate a marker and then get the information  as follows:<br><br>
var  infpuntos = new OpenLayers.Layer.Text( &quot;infpuntos&quot;, {location: &quot;textpunto.php&quot;},    <br>                       &quot;<a href="http://myurl/cgi-bin/mapserv?MAP=/var/www/amss_wms2.map">http://myurl/cgi-bin/mapserv?MAP=/var/www/amss_wms2.map</a>&quot;);    <br>
<br>var  infestaciones = new OpenLayers.Layer.Text( &quot;infestaciones&quot;, {location: &quot;textpunto.php&quot;},    &quot;<a href="http://myurl/cgi-bin/mapserv?MAP=/var/www/amss_wms2.map">http://myurl/cgi-bin/mapserv?MAP=/var/www/amss_wms2.map</a>&quot;);                    <br>
<br>but I would like that users could be able to click on one point and get the information without using this text markers. I found information about  vector and gml layers with text format but I would like to know how to use them to work with more than one layer  or if there are other solutions that someone could recomend.<br>
<br><br>thanks in advance.<br><br>Karina Guardado<br>El Salvador<br>