Hi All,

I want to upload gpx file on my map but its giving error that it cannot be
displayed. I am attaching my gpx file with this

map.addLayer(new OpenLayers.Layer.GML("GPX", "gpx/mygps.gpx",
               {
                format: OpenLayers.Format.GPX,
                formatOptions:{ extractWaypoints:true,
                                extractTracks:true,
                                extractRoutes:true,
                                extractAttributes:true
                                }
               }));

http://www.nabble.com/file/p20912231/mygps.gpx mygps.gpx 

Thanks in advance :)

Cheers,
Reena.

-- 
View this message in context: 
http://www.nabble.com/Problem-in-displaying-GML-layer-tp20912231p20912231.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.

_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users

Reply via email to