correctly clear markers when displaying a route