How to show directions on the map?

المشرف العام

Administrator
طاقم الإدارة
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


أكثر...
 
أعلى