diff --git a/WebContent/base/OSRM.Markers.js b/WebContent/base/OSRM.Markers.js index 09179abbb..444020107 100644 --- a/WebContent/base/OSRM.Markers.js +++ b/WebContent/base/OSRM.Markers.js @@ -24,12 +24,16 @@ OSRM.Markers = function() { this.dragger = new OSRM.DragMarker("drag", {draggable:true,icon:OSRM.G.icons['marker-drag'],dragicon:OSRM.G.icons['marker-drag']});; }; OSRM.extend( OSRM.Markers,{ -removeAll: function() { +reset: function() { + // remove route markers for(var i=0; i