Open cxsphereraja opened 2 years ago
Hi there,
I want to show the driving map between two endpoints. Can you please suggest how do I do? I just tried waypoint. How does it look like?
Can you please suggest me? I am a newbie to the map.
L.Routing.control({ waypoints: [ L.latLng(item.lat, item.long), L.latLng(lat, long) ] }).addTo(mymap);
This should be working just fine. Although in case you only need a single line without any actual routing functionality, you could also use a polyline
Hi there,
I want to show the driving map between two endpoints. Can you please suggest how do I do? I just tried waypoint. How does it look like?
Can you please suggest me? I am a newbie to the map.
L.Routing.control({ waypoints: [ L.latLng(item.lat, item.long), L.latLng(lat, long) ] }).addTo(mymap);