Skip to content

Commit ed1f344

Browse files
author
runner
committed
Assemble changelog file [skip ci]
1 parent 57d7b1e commit ed1f344

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

changelog/unreleased/CHANGELOG.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
#### Features
2+
3+
4+
#### Bug fixes and improvements
5+
- 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)
6+
- :warning: Updated the `NavigationView` default navigation puck asset. [#6678](https://github.com/mapbox/mapbox-navigation-android/pull/6678)
7+
8+
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:
9+
```kotlin
10+
navigationView.customizeViewStyles {
11+
locationPuckOptions = LocationPuckOptions.Builder(context)
12+
.defaultPuck(
13+
LocationPuck2D(
14+
bearingImage = ContextCompat.getDrawable(
15+
context,
16+
com.mapbox.navigation.ui.maps.R.drawable.mapbox_navigation_puck_icon,
17+
)
18+
)
19+
)
20+
.idlePuck(regularPuck(context))
21+
.build()
22+
}
23+
```
24+
- Updated behavior of `MapboxRouteLineView::initializeLayers` to always reset the route line related layers with the options provided even if it means removing existing layers in order to apply the options. Also new instances of `MapboxRouteLineView` will result in an initialization of the layers upon the first render call. [#6793](https://github.com/mapbox/mapbox-navigation-android/pull/6793)
25+
- 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)
26+
- Fixed an issue where the first voice instruction might have been played twice. [#6766](https://github.com/mapbox/mapbox-navigation-android/pull/6766)
27+
- Introduced `NavigationViewListener.onSpeedInfoClicked` that would be triggered when `MapboxSpeedInfoView` is clicked upon. [#6770](https://github.com/mapbox/mapbox-navigation-android/pull/6770)
28+
- Fixed standalone `MapboxManeuverView` appearance when the app also integrates Drop-In UI. [#6774](https://github.com/mapbox/mapbox-navigation-android/pull/6774)
29+
- 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)
30+
- 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)
31+
32+
#### Known issues :warning:
33+
34+
35+
#### Other changes

0 commit comments

Comments
 (0)