alt-click (for now) to bring ways in from vector background layers
[potlatch2.git] / net / systemeD / potlatch2 / controller / DragWayNode.as
index d11df0958b64b719814a569f79ce4847fdcc1c65..f237c307ca3efbde5a7781421c1d51b3549d9b54 100644 (file)
@@ -66,8 +66,7 @@ package net.systemeD.potlatch2.controller {
         }
         
         private function dragTo(event:MouseEvent):ControllerState {
-            draggingNode.lat = controller.map.coord2lat(event.localY);
-            draggingNode.lon = controller.map.coord2lon(event.localX);
+                       draggingNode.setLatLon( controller.map.coord2lat(event.localY), controller.map.coord2lon(event.localX) );
             return this;
         }