From 891630bb4bebbaffcf874d2061ca4fd433173030 Mon Sep 17 00:00:00 2001 From: DennisSchiefer Date: Mon, 3 Sep 2012 15:44:18 +0100 Subject: [PATCH] remove highlight marker when switching alternatives --- WebContent/routing/OSRM.RoutingAlternatives.js | 1 + 1 file changed, 1 insertion(+) diff --git a/WebContent/routing/OSRM.RoutingAlternatives.js b/WebContent/routing/OSRM.RoutingAlternatives.js index 392f07404..1c556aeac 100644 --- a/WebContent/routing/OSRM.RoutingAlternatives.js +++ b/WebContent/routing/OSRM.RoutingAlternatives.js @@ -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 )