Implements trace objects loaded from the OSM API.
See also potlatch2's utils GpxImporter.as and Importer.as classes, which can handle
loading GPX files (and other formats) from arbitrary urls.
description:String
[read-only]Implementation
public function get description():String
filename:String
[read-only]Implementation
public function get filename():String
id:Number
[read-only]Implementation
public function get id():Number
tagsText:String
[read-only]Implementation
public function get tagsText():String
public function Trace(masterConnection:XMLConnection)
Create a new trace.
Parameters
| masterConnection:XMLConnection — The authenticated connection to communicate with the server
|
public function addToMap():void
public function fromXML(xml:XML):Trace
Create a new trace, from the XML description given by the user/traces call.
This only creates the object itself, the actual trace contents (trkseg etc) are
lazily downloaded later.
Parameters
Returns
public function removeFromMap():void
Found an error? Help us fix it. http://wiki.openstreetmap.org/wiki/Potlatch2