$(".search").hide();
$(".routing").show();
$(".query_wrapper.routing [name=route_from]").focus();
+ $("#map").on('dragend dragover',function(e) { e.preventDefault(); });
+ $("#map").on('drop',function(e) { OSM.routing.handleDrop(e); });
});
$(".close_directions").on("click",function(e) {
$(".search").show();
$(".routing").hide();
OSM.routing.close();
+ $("#map").off('dragend drop dragover');
$(".query_wrapper.search [name=query]").focus();
});