<div dir="ltr">Hi my List!<br><br>Hi guys... I'm using the example "Poin Track Markers".<br>But I need to modify the popups of the Markers...<br><br>[1] How can I set the content, because on the example only <title> and <description> appears.<br>
[2] How can I set the the visual properties(size, transparency, etc)<br><br><br>This is the format of my xml file: <br><br><item><br> <geo:lat>-2.8849877900038</geo:lat><br> <geo:long>-79.0611279883398</geo:long><br>
<title>2008-08-01 05:08:48 hrs.</title><br> <description>16.540 Km/h.</description><br></item><br> <br>So, I want to set the popup content with that.<br>[3] Finally I want to set the Track Visual Properties.. (color, size, etc).<br>
<br>Thanks..!! =).<br>PD: this is the code..(Points and Track)<br><br> function addUrl()<br> {<br><br> ejecutarsql(OpenLayers.Util.getElement('unidad').value);<br> var urlObj = OpenLayers.Util.getElement('url'); <br>
var value = urlObj.value;<br> var parts = value.split("/");<br> rss = new OpenLayers.Layer.GeoRSS(parts[parts.length-1], value);<br> rss.events.register("loadend", window, populateMap);<br>
map.addLayer(rss);<br> }<br><br><br> function populateMap() <br> {<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> lineLayer.addNodes(rss.features);<br> map.addLayer(lineLayer);<br> <br> rss.setName("Points");<br>
var feature, marker;<br><br> for (var i = rss.features.length-1; i>0; i--) <br> {<br> if (rss.features[i].data.popupContentHTML.indexOf("Untitled")!= -1)<br>
{rss.removeMarker(rss.markers[i]);}<br> }<br> map.raiseLayer(rss, 1);<br> }<br><br><br> <br><br></div>