-
Notifications
You must be signed in to change notification settings - Fork 319
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
runner
committed
Jan 10, 2023
1 parent
53238a5
commit 39410e3
Showing
1 changed file
with
34 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
#### Features | ||
|
||
|
||
#### Bug fixes and improvements | ||
- Each newly instantiated MapboxRouteArrowView class will initialize the layers with the provided options on the first render call. Previously this would only be done if the layers hadn't already been initialized. [#6466](https://github.com/mapbox/mapbox-navigation-android/pull/6466) | ||
- :warning: Updated the `NavigationView` default navigation puck asset. [#6678](https://github.com/mapbox/mapbox-navigation-android/pull/6678) | ||
|
||
Previous puck can be restored by injecting `LocationPuck2D` with the `bearingImage` set to `com.mapbox.navigation.ui.maps.R.drawable.mapbox_navigation_puck_icon` drawable: | ||
```kotlin | ||
navigationView.customizeViewStyles { | ||
locationPuckOptions = LocationPuckOptions.Builder(context) | ||
.defaultPuck( | ||
LocationPuck2D( | ||
bearingImage = ContextCompat.getDrawable( | ||
context, | ||
com.mapbox.navigation.ui.maps.R.drawable.mapbox_navigation_puck_icon, | ||
) | ||
) | ||
) | ||
.idlePuck(regularPuck(context)) | ||
.build() | ||
} | ||
``` | ||
- Fixed an issue with `NavigationView` that caused info panel to shrink in landscape mode with a full screen theme. [#6780](https://github.com/mapbox/mapbox-navigation-android/pull/6780) | ||
- Fixed standalone `MapboxManeuverView` appearance when the app also integrates Drop-In UI. [#6774](https://github.com/mapbox/mapbox-navigation-android/pull/6774) | ||
- Added guarantees that route progress with `RouteProgress#currentState == OFF_ROUTE` arrives earlier than `NavigationRerouteController#reroute` is called. [#6764](https://github.com/mapbox/mapbox-navigation-android/pull/6764) | ||
- Introduced `NavigationViewListener.onSpeedInfoClicked` that would be triggered when `MapboxSpeedInfoView` is clicked upon. [#6770](https://github.com/mapbox/mapbox-navigation-android/pull/6770) | ||
- Fixed a rare `java.lang.NullPointerException: Attempt to read from field 'SpeechAnnouncement PlayCallback.announcement' on a null object reference` crash in `PlayCallback.getAnnouncement`. [#6760](https://github.com/mapbox/mapbox-navigation-android/pull/6760) | ||
- Fixed an issue where the first voice instruction might have been played twice. [#6766](https://github.com/mapbox/mapbox-navigation-android/pull/6766) | ||
|
||
#### Known issues :warning: | ||
|
||
|
||
#### Other changes |