I am using Mapbox, Leaflet.Via Mapbox Walking directions I create directions and save origin and destination markers coordinates; Then I want to show this created direction. So I do following:
But I have an error:
Uncaught TypeError: Cannot read property 'control' of undefined
أكثر...