Adds route data to the builder.
- iOS 11.0+
- Mac Catalyst 13.0+
- watchOS 4.0+
An array containing one or more location objects.
A block called after the system adds the collection data to the builder. The system passes the block the following parameters:
A Boolean value that indicates whether the builder successfully received the route data.
An object that describes the error, if an error has occurred; otherwise,
Use this method to asynchronously add one or more
CLLocation objects to the series. The
CLLocation objects may be inserted in any order; the builder sorts them by date when finalizing the route.