[OpenLayers-Users] Re: export line to gpx

yvecai yvecai at gmail.com
Wed Mar 30 16:24:05 EDT 2011


On 30. 03. 11 19:05, emmexx wrote:
> Il 30/03/2011 18:09, vrbikdan scrisse:
>> Hi,
>> I am still unsuccesful with export line to GPX. Is it possible to export?
>> Because I can't find any example for it.
> I think you have to write your own export function.
>
> bye
> 	maxx
> _______________________________________________
> Users mailing list
> Users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/openlayers-users
Yes, apparently openlayers.format.GPX lacks the function write(). Seems 
to be a good candidate for a feature request!

It's maybe not so complicated to create an export function with 
openlayers.format.XML.write().
http://dev.openlayers.org/apidocs/files/OpenLayers/Format/XML-js.html#OpenLayers.Format.XML

Yves


More information about the Users mailing list