A little bit of documentation guidance between potlatch2/GpxImporter and halcyon...
authorAndy Allan <gravitystorm@gmail.com>
Mon, 18 Oct 2010 11:14:18 +0000 (11:14 +0000)
committerAndy Allan <gravitystorm@gmail.com>
Mon, 18 Oct 2010 11:14:18 +0000 (11:14 +0000)
net/systemeD/halcyon/connection/Trace.as
net/systemeD/potlatch2/utils/GpxImporter.as

index 7eb5787f91f681ad72f0ab5f4bed38c9b5198233..20071f05a1f6e572a0540c9944581527dbadd231 100644 (file)
@@ -10,6 +10,11 @@ package net.systemeD.halcyon.connection {
     import net.systemeD.halcyon.Globals;
     import net.systemeD.halcyon.VectorLayer;
 
+    /**
+    * 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.
+    */
     public class Trace extends EventDispatcher {
         private var _id:Number;
         private var _description:String;
index f39b98047d03b3700c05c30928a3408d69b8c39f..46621c7315c11fc5966a6555703cb0764d63c691 100644 (file)
@@ -6,6 +6,10 @@ package net.systemeD.potlatch2.utils {
        import net.systemeD.halcyon.connection.Way;
        import net.systemeD.potlatch2.tools.Simplify;
 
+    /**
+    * Implements parsing and loading of GPX files.
+    * For loading GPX traces from the OSM API, see halcyon/connenction/Trace.as
+    */
        public class GpxImporter extends Importer {
 
                public function GpxImporter(container:*, paint:MapPaint, filenames:Array, callback:Function=null, simplify:Boolean=false) {