[OpenLayers-Users] Track Point with existing Layer

David Calle davydky at gmail.com
Thu Aug 14 12:29:04 EDT 2008


Hi List,

I need to modify the Point Track Markers example... for tracking the points
of a existing layer...
This is my layer with the points:

        var paradas8 = new OpenLayers.Layer.MapServer.Untiled( "Paradas 8",
"../../cgi-bin/mapserv",
            {map:"C:/data/publicacion.map",
            layers: "paradas8_ida",transparent: "true", map_imagetype:
"png"});

map.addLayers([paradas8]);


So, I need to use these points.... into the example...

        function populateMap() {

            var lineLayer = new OpenLayers.Layer.PointTrack(rss.name + "
Track",
                    {dataFrom:
OpenLayers.Layer.PointTrack.dataFrom.SOURCE_NODE});



            lineLayer.addNodes(rss.features);
            map.addLayer(lineLayer);

        }

Thanks advanced...!!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20080814/cb9f4b9d/attachment.html


More information about the Users mailing list