mapbox / mapbox-directions-swift

Traffic-aware directions and map matching in Swift on iOS, macOS, tvOS, watchOS, and Linux
https://www.mapbox.com/navigation/
ISC License
181 stars 87 forks source link

Update Waypoint.swift so that we can extend #770

Closed Knapiii closed 1 year ago

Knapiii commented 1 year ago

Make waypoint open for us to extend, so that we can make our own custom waypoint class.

ex.

class CustomWaypointModel: Waypoint { 
     private(set) var customType: Type
}