How To Create Route From A to B
Create Driving Route from A to B and display it on the map
This example calculates the fastest car route from the Mall of Emirates (25.118709, 55.200736) to The Dubai Frame (25.237545, 55.301214) and displays it on the map.
Code
Access to the createRoute
method is obtained from the AhoyMapView
class .
This method is used to calculate the fastest car route by passing in the relevant parameters as defined in the documentation.The styling and display of the response is under the control of the developer