BugFix - Traces now draw immediately when loaded, now that I've learned (and document...
authorAndy Allan <gravitystorm@gmail.com>
Tue, 16 Nov 2010 17:50:33 +0000 (17:50 +0000)
committerAndy Allan <gravitystorm@gmail.com>
Tue, 16 Nov 2010 17:50:33 +0000 (17:50 +0000)
TODO.txt
net/systemeD/halcyon/connection/Trace.as

index c3ec613..a0ed7b3 100644 (file)
--- a/TODO.txt
+++ b/TODO.txt
@@ -58,8 +58,6 @@ Potlatch 2: main outstanding issues
 * Have a remove button for removing loaded traces
 * Have a check button for simplifying traces
 * Figure out how to call P2/Simplify for halcyon-based code
-* When a GPX is loaded, it's not actually drawn until you pan the map
-
 
 Requested enhancements
 ----------------------
index 7e0e2a9..0df4ec0 100644 (file)
@@ -125,7 +125,7 @@ package net.systemeD.halcyon.connection {
                 var node:Node=layer.createNode(tags, wpt.@lat, wpt.@lon);
                                layer.registerPOI(node);
             }
-            layer.paint.redraw();
+            layer.paint.updateEntityUIs(layer.getObjectsByBbox(map.edge_l,map.edge_r,map.edge_t,map.edge_b), true, false);
         }
     }
 }
\ No newline at end of file