MKDirections with the middle

Is it possible to get a polyline from A to B using waypoints in the middle using the Apple Maps API? I tried to query like this:

A -> A1 A1 -> A2 A2 -> A3 ... AN -> B

but obviously, the Apple servers stop responding when I do this too often, so I'm looking for one way to get it without overloading the Apple servers as follows:

A -> A1 -> A2 -> A3 -> .... -> B

Does anyone know how to do this?

+6
source share

Source: https://habr.com/ru/post/971094/


All Articles