Hi All,
Here I am going to explain you how to draw route using two latitude and Longitude.Here you have to consider if any Sea or River comes between 2 location then route drawing is not possible.
Step 1:Please check the following image for Framework required and predefined classes
if you want you will get all the files with sample code at the end of the post.
Step 2: Import Required files in your ViewController and Provide the 2 different Location’s Latitude and Longitude.Please follow this 2 images accordingly.
OutPut
You can Grab this code from Here:
Advertisements