Fixes after Importer refactoring
authorRichard Fairhurst <richard@systemeD.net>
Sun, 25 Mar 2012 16:51:27 +0000 (17:51 +0100)
committerRichard Fairhurst <richard@systemeD.net>
Sun, 25 Mar 2012 16:51:27 +0000 (17:51 +0100)
net/systemeD/potlatch2/collections/VectorBackgrounds.as
potlatch2.mxml

index 0a8d610..3271048 100644 (file)
@@ -73,7 +73,7 @@ package net.systemeD.potlatch2.collections {
 
                                                                                var connection:Connection = new Connection(name, gpx_url, null, null);
                                                                                var gpx:GpxImporter=new GpxImporter(connection, _map, 
-                                                                               function(success:Boolean,message:String=null):void {
+                                                                               function(connection:Connection,options:Object,success:Boolean,message:String=null):void {
                                                                                        if (!success) return;
                                                                                        var paint:MapPaint = _map.addLayer(connection, "stylesheets/gpx.css");
                                                                                        paint.updateEntityUIs(false, false);
index 9137c59..c11a7bf 100644 (file)
 
                 var connection:Connection = new Connection(name, gpx_url, null, null);
                 var gpx:GpxImporter=new GpxImporter(connection, theMap,
-                                                function(success:Boolean,message:String=null):void {
+                                                function(connection:Connection,options:Object,success:Boolean,message:String=null):void {
                                                     if (!success) return;
                                                     var paint:MapPaint = theMap.addLayer(connection, "stylesheets/gpx.css");
                                                     paint.updateEntityUIs(false, false);