* Rework the loading text
* Have a remove button for removing loaded traces
* Have a check button for simplifying traces
-* Refactor the importer.as so that downloading the files can be done via the connection, not just directly
Requested enhancements
----------------------
return tags.join(", ");
}
- public function get traceData():XML {
- return XML(_traceData);
- }
-
private function fetchFromServer():void {
+ // todo - needs proper error handling
Connection.getConnectionInstance().fetchTrace(id, saveTraceData);
dispatchEvent(new Event("loading_data"));
}
}
public function addToMap():void {
+ // this allows adding and removing traces from the map, without re-downloading
+ // the data from the server repeatedly.
if (!_isLoaded) {
addEventListener("loaded_data", processEvent);
fetchFromServer();
}
}
+ public function removeFromMap():void {
+ //todo
+ }
+
private function processEvent(e:Event):void {
process();
}