[OpenLayers-Users] Problem in displaying GML layer

S.Reena reena at indiamail.com
Tue Dec 9 05:36:54 EST 2008


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.




More information about the Users mailing list