remove highlight marker when switching alternatives

This commit is contained in:
DennisSchiefer 2012-09-03 15:44:18 +01:00
parent 2b8eefe238
commit 891630bb4b

View File

@ -109,6 +109,7 @@ _click: function(button_id) {
OSRM.RoutingGeometry.show(the_response);
OSRM.RoutingNoNames.show(the_response);
OSRM.RoutingDescription.show(the_response);
OSRM.G.markers.highlight.hide();
},
_mouseover: function(button_id) {
if( OSRM.G.active_alternative == button_id )