perliedman / leaflet-routing-machine

Control for routing in Leaflet
https://www.liedman.net/leaflet-routing-machine/
Other
1.08k stars 350 forks source link

How to load custom path layer #543

Closed saileshkush95 closed 5 years ago

saileshkush95 commented 5 years ago

It is working perfectly by default but I want to use it on my own road layer, is this is possible or not if how please help me.

perliedman commented 5 years ago

You need to set up your own routing backend with your own data. LRM supports quite a few backends via plugins, see the readme which lists most of them. OSRM is the built-in default backend.