Skip to content

3.0.0

Latest
Compare
Choose a tag to compare
@boldtrn boldtrn released this 15 Jun 08:23
· 77 commits to main since this release
  • The speak method in RouteVoiceController can be used without a given RouteProgress or the RouteProgress can explicitly ignored so that it will not be added to the voice instruction.
  • RouteProgress is now optional in willSpeak method of VoiceControllerDelegate if the RouteProgress in the speak method of the RouteVoiceController is nil`.
  • Uses the Locale given in RouteOptions to create the corresponding AVSpeechSynthesisVoice.
  • Removed setCamera() from updateCourseTracking()
  • Added setCamera() to progressDidChange()
  • Allow to customize rerouting logic by implementing RouteControllerDelegate#routeControllerGetDirections
  • Add option to overwrite camera update via NavigationMapViewCourseTrackingDelegate#updateCamera
  • Remove MapboxVoiceController and Mapbox Speech dependency. If you would like to use MapboxSpeech, you can copy the deleted MapboxVoiceController into your project.
  • Updated MapLibre Native dependency to ios-v6.0.0 (https://github.com/maplibre/maplibre-native/releases/tag/ios-v6.0.0). Implementers need to change the prefix MGL to MLN for all MapLibre Native classes that are referenced.
  • Only snap location to route if the location is within the RouteControllerUserLocationSnappingDistance
  • Add support for Swift Package Manager while dropping Carthage and Cocoapods.
  • Initialization no longer tries to add mapbox://mapbox.mapbox-streets-v7 to all mapstyles.
  • Removed implicit default dependencies on MapBox tileservers by requiring explicit styles URLs in more places.
    • Merged in #45.
    • BREAKING: Removed MLNStyle extensions referencing non-functioning MapBox styles, e.g. MLNStyle.navigationGuidanceDayStyleURL.
    • Added Day/NightStyle(styleURL:) which takes an explicit URL to a hosting tileserver style.
    • Added Day/NightStyle(demoStyle: ()) as an explicit alternative when the user doesn't have a tileserver handy. This uses MapLibre's demo style and is intended for testing and demonstration use only.
    • Deprecated DayStyle()/NightStyle() initializers because they were backed by an implicit tile service. If these default styles are still used, they'll now use the MapLibre demo style.
    • NavigationViewController now expects explicit style URLs with NavigationViewController(route:dayStyleURL:nightStyleURL:...) or NavigationViewController(route:dayStyle:nightStyle:...)` and the existing initializer, which allowed "default" styles, is deprecated and uses the MapLibre demo styles.
  • Fix: NavigationViewController was not re-routing when the user went off route.
    • Merged in #47
  • Fix: NavigationViewController displayed incorrect speedMultiplier when using SimulatedLocationManager
    • Merged in #49