<div dir="ltr">Hi guys,<br><br>The example of Point Track Markers it's so good...<br>But I need to set my data origin from a database...<br><br> var lineLayer = new OpenLayers.Layer.PointTrack(<a href="http://rss.name">rss.name</a> + " Track",<br>
{dataFrom: OpenLayers.Layer.PointTrack.dataFrom.SOURCE_NODE});<br><br> // add the features from the rss layer to the track layer. <br><br> lineLayer.addNodes(rss.features);<br> map.addLayer(lineLayer);<br>
<br>Here the data comes from a xml like this....<br><br><br><rss version="2.0"><br> <channel><br> <title>Title for First trial track</title><br> <description>Description for first track</description><br>
<category>Nelson</category><br> <br> <item><br> <pubDate>1995-12-12T05:00:00Z</pubDate><br> <geo:lat>22.18628611</geo:lat><br>
<geo:long>20.30211944</geo:long><br> <title>Phase Change</title><br> <description>Start Phase A</description><br>
</item><br> </channel><br></rss><br><br>I need to represent the data of my table... maybe a conection with php , but how can I set the origin??<br><br> var lineLayer = new OpenLayers.Layer.PointTrack(<a href="http://rss.name">rss.name</a> + " Track",<br>
{dataFrom: OpenLayers.Layer.PointTrack.dataFrom."my_table");<br><br><br><br><br><br></div>