I want to draw curve shape polyline not a straight line between two locations. If the first location is India and the second is the US. Then no route provided by Google API. But I have two lats/longs, I want to draw a curve starts from India and end to the US.
Asked
Active
Viewed 749 times
1

Dávid Pásztor
- 51,403
- 9
- 85
- 116

Vivek Yadav
- 1,117
- 10
- 14
-
please check this link:-https://stackoverflow.com/questions/49189242/draw-a-curved-line-by-gmspolyline-google-maps-ios-sdk – V D Purohit Nov 01 '18 at 13:07
-
@VDPurohit Above link which you have give that not fulfill the requirement. I don't want the path given by Google. If you have two different country location then google API driving path not working for this. – Vivek Yadav Nov 02 '18 at 04:21
-
@VDPurohit Dude at least mark this question upvote so that other can show interest on this. – Vivek Yadav Nov 02 '18 at 08:12
-
iOS Swift Solution: https://stackoverflow.com/a/53569754/6593774 – Rouny Dec 01 '18 at 10:14