alt-click (for now) to bring ways in from vector background layers
[potlatch2.git] / net / systemeD / potlatch2 / VectorSourceDialog.mxml
index 8cf2c7243250ca938ca6fc7d8862eeeb305327aa..8fc7524c765536dac5796751fa22140885c6fc3c 100644 (file)
@@ -27,7 +27,7 @@
        private function loadSHP(url:String):void {
         PopUpManager.removePopUp(this);
                var theMap:Map = Globals.vars.root;
-               var vectorlayer:CustomVectorLayer=new CustomVectorLayer(theMap,"potlatch.css");
+               var vectorlayer:CustomVectorLayer=new CustomVectorLayer(url,theMap,"potlatch.css");
                theMap.vectorlayers.push(vectorlayer);
                theMap.vectorbg.addChild(vectorlayer.paint);