private var leaveNodeSelected:Boolean;
private var lastClick:Entity=null;
private var lastClickTime:Date;
private var leaveNodeSelected:Boolean;
private var lastClick:Entity=null;
private var lastClickTime:Date;
controller.map.coord2latp(event.localY));
elastic.end = mouse;
} else if ( event.type == MouseEvent.ROLL_OVER && focus!=selectedWay) {
controller.map.coord2latp(event.localY));
elastic.end = mouse;
} else if ( event.type == MouseEvent.ROLL_OVER && focus!=selectedWay) {
controller.map.setHighlight(focus, { showNodesHover: true });
} else if ( event.type == MouseEvent.MOUSE_OUT && focus!=selectedWay) {
controller.map.setHighlight(focus, { showNodesHover: true });
} else if ( event.type == MouseEvent.MOUSE_OUT && focus!=selectedWay) {
controller.map.setHighlight(focus, { showNodesHover: false });
controller.map.setHighlight(selectedWay, { showNodes: true });
// ** this call to setHighlight(selectedWay) is necessary in case the hovered way (blue nodes)
controller.map.setHighlight(focus, { showNodesHover: false });
controller.map.setHighlight(selectedWay, { showNodes: true });
// ** this call to setHighlight(selectedWay) is necessary in case the hovered way (blue nodes)