<div dir="ltr">Ok Andreas, but how can I to configure my server....<br>If the server it&#39;s configurated how can I test...<br><br>Please, If you can,&nbsp; use an example... for :<br>OpenLayers.Layer.GML instead of OpenLayers.Layer.Mapserver.Untiled<br>
<br><br>Thanks...<br><br><br><div class="gmail_quote">2008/8/14 Andreas Hocevar <span dir="ltr">&lt;<a href="mailto:andreas.hocevar@gmail.com">andreas.hocevar@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">David Calle wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi List,<br>
<br>
I need to modify the Point Track Markers example... for tracking the points of a existing layer...<br>
This is my layer with the points:<br>
<br>
 &nbsp; &nbsp; &nbsp; &nbsp;var paradas8 = new OpenLayers.Layer.MapServer.Untiled( &quot;Paradas 8&quot;, &quot;../../cgi-bin/mapserv&quot;,<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{map:&quot;C:/data/publicacion.map&quot;,<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;layers: &quot;paradas8_ida&quot;,transparent: &quot;true&quot;, map_imagetype: &quot;png&quot;});<br>
<br>
map.addLayers([paradas8]);<br>
</blockquote>
<br></div>
So you are using Mapserver already! You just have to configure it to serve it as WFS/GML, and use OpenLayers.Layer.GML instead of OpenLayers.Layer.Mapserver.Untiled. The PointTrack layer cannot get the points from an image...<br>

<br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d">
<br>
So, I need to use these points.... into the example...<br>
<br>
 &nbsp; &nbsp; &nbsp; &nbsp;function populateMap() {<br>
<br></div>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;var lineLayer = new OpenLayers.Layer.PointTrack(<a href="http://rss.name" target="_blank">rss.name</a> &lt;<a href="http://rss.name" target="_blank">http://rss.name</a>&gt; + &quot; Track&quot;,<div class="Ih2E3d">
<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{dataFrom: OpenLayers.Layer.PointTrack.dataFrom.SOURCE_NODE});<br>
</div></blockquote>
<br>
The dataFrom property has nothing to do with the source of your data. It only tells the PointTrack layer if a line feature should get the data from its source or target node.<br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;lineLayer.addNodes(rss.features);<br>
</blockquote>
<br>
This is the interesting line. In the example, &quot;rss&quot; is the layer that contains the points. In your use case, this would be the GML layer with your points.<br>
<br>
<br>
Regards,<br><font color="#888888">
Andreas.<br>
</font></blockquote></div><br></div>