Plotting route on one map

Hi There!

If the start and end points ( Latitude and longitude ) are provided

  1. what is the function used to plot the route on the map dynamically?

To be more precise , We need to provide the map to navigate , the destination would be defined,
and the map interface should be able to pick the latitude and longitude dynamically and plot the route ( exactly , like the service provided in One Map APPs)

Thanks

Hi There !

Any help on this.

Thanks

@Itsupport

As long as you have asked the user’s permission for getting their “Current Location” to set as dynamically and mostly end is their destination) will be a fixed point.