fixed bug that did not always remove drag marker on reset

This commit is contained in:
DennisSchiefer
2012-05-10 12:26:56 +01:00
parent 1727187b5e
commit 224c55dec1
2 changed files with 6 additions and 3 deletions
+1 -2
View File
@@ -48,8 +48,7 @@ resetRouting: function() {
document.getElementById('gui-input-target').value = "";
OSRM.G.route.hideAll();
OSRM.G.markers.removeAll();
OSRM.G.markers.highlight.hide();
OSRM.G.markers.reset();
document.getElementById('information-box').innerHTML = "";
document.getElementById('information-box-header').innerHTML = "";