remove highlight marker when switching alternatives
This commit is contained in:
parent
2b8eefe238
commit
891630bb4b
@ -109,6 +109,7 @@ _click: function(button_id) {
|
|||||||
OSRM.RoutingGeometry.show(the_response);
|
OSRM.RoutingGeometry.show(the_response);
|
||||||
OSRM.RoutingNoNames.show(the_response);
|
OSRM.RoutingNoNames.show(the_response);
|
||||||
OSRM.RoutingDescription.show(the_response);
|
OSRM.RoutingDescription.show(the_response);
|
||||||
|
OSRM.G.markers.highlight.hide();
|
||||||
},
|
},
|
||||||
_mouseover: function(button_id) {
|
_mouseover: function(button_id) {
|
||||||
if( OSRM.G.active_alternative == button_id )
|
if( OSRM.G.active_alternative == button_id )
|
||||||
|
Loading…
Reference in New Issue
Block a user