Update connections to use instance copies of apiBaseURL. Untested, but allows docs...
[potlatch2.git] / net / systemeD / halcyon / connection / OSMConnection.as
index 79774aa419af9330f396e22f97913466719ee38c..6e08f51752255d9b80662aaa3086e7f316df5c05 100644 (file)
@@ -97,7 +97,7 @@ package net.systemeD.halcyon.connection {
                private function loadFile(box:Array):void {
                        bboxes[box]=LOADING;
 
-            var mapRequest:URLRequest = new URLRequest(Connection.apiBaseURL+"/"+box[0]+"_"+box[1]+"_"+box[2]+"_"+box[3]+".osm");
+            var mapRequest:URLRequest = new URLRequest(apiBaseURL+"/"+box[0]+"_"+box[1]+"_"+box[2]+"_"+box[3]+".osm");
                        var mapLoader:ExtendedURLLoader = new ExtendedURLLoader();
                        mapLoader.info['bbox']=box;
                        mapLoader.addEventListener(Event.COMPLETE, markMapLoaded);