Skip to content

Commit 38c986e

Browse files
changelog for v2.10.0-rc.2 (#6829)
Co-authored-by: root <root@8aa05807a2fb>
1 parent ca03770 commit 38c986e

File tree

1 file changed

+58
-0
lines changed

1 file changed

+58
-0
lines changed

CHANGELOG.md

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,64 @@ Mapbox welcomes participation and contributions from everyone.
3131
- Fixed an issue where the first voice instruction might have been played twice. [#6766](https://github.com/mapbox/mapbox-navigation-android/pull/6766)
3232
- Changed distance formatting: now all the imperial distances down to 0.1 miles will be represented in miles, while the smaller ones - in feet. [#6775](https://github.com/mapbox/mapbox-navigation-android/pull/6775)
3333

34+
## Mapbox Navigation SDK 2.10.0-rc.2 - 12 January, 2023
35+
### Changelog
36+
[Changes between v2.10.0-rc.1 and v2.10.0-rc.2](https://github.com/mapbox/mapbox-navigation-android/compare/v2.10.0-rc.1...v2.10.0-rc.2)
37+
38+
#### Features
39+
- Added support to use `MapboxSpeedInfoView` as default view to render posted and current speed in Drop-In UI. [#6743](https://github.com/mapbox/mapbox-navigation-android/pull/6743)
40+
- Introduced `ViewStyleCustomization.speedInfoOptions` to style the `MapboxSpeedInfoView` using Drop-In UI. [#6743](https://github.com/mapbox/mapbox-navigation-android/pull/6743)
41+
- Introduced `ViewBinderCustomization.legacySpeedLimitBinder()` and `ViewBinderCustomization.defaultSpeedInfoBinder` to facilitate the simple use of legacy `MapboxSpeedLimitView` and new `MapboxSpeedInfoView`. [#6743](https://github.com/mapbox/mapbox-navigation-android/pull/6743)
42+
- :warning: Deprecated `ViewStyleCustomization.setSpeedLimitStyle` and `ViewStyleCustomization.setSpeedLimitTextAppearance`. [#6743](https://github.com/mapbox/mapbox-navigation-android/pull/6743)
43+
To use the legacy speed limit view, add the following code:
44+
```kotlin
45+
binding.navigationView.customizeViewBinders {
46+
binding.navigationView.customizeViewBinders {
47+
speedLimitBinder = legacySpeedLimitBinder()
48+
}
49+
}
50+
```
51+
- Introduced `NavigationViewListener.onSpeedInfoClicked` that would be triggered when `MapboxSpeedInfoView` is clicked upon. [#6770](https://github.com/mapbox/mapbox-navigation-android/pull/6770)
52+
- Introduced `ViewStyleCustomization.infoPanelGuidelineMaxPosPercent` that allows customization of the `NavigationView` InfoPanel bottom guideline maximum position. Increased default value to 50%. [#6792](https://github.com/mapbox/mapbox-navigation-android/pull/6792)
53+
54+
#### Bug fixes and improvements
55+
- Fixed an issue with `NavigationView` that caused info panel to shrink in landscape mode with a full screen theme. [#6811](https://github.com/mapbox/mapbox-navigation-android/pull/6811)
56+
- Fixed standalone `MapboxManeuverView` appearance when the app also integrates Drop-In UI. [#6810](https://github.com/mapbox/mapbox-navigation-android/pull/6810)
57+
- 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)
58+
- Fixed an issue where the first voice instruction might have been played twice. [#6766](https://github.com/mapbox/mapbox-navigation-android/pull/6766)
59+
- :warning: Updated the `NavigationView` default navigation puck asset. [#6678](https://github.com/mapbox/mapbox-navigation-android/pull/6678)
60+
61+
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:
62+
```kotlin
63+
navigationView.customizeViewStyles {
64+
locationPuckOptions = LocationPuckOptions.Builder(context)
65+
.defaultPuck(
66+
LocationPuck2D(
67+
bearingImage = ContextCompat.getDrawable(
68+
context,
69+
com.mapbox.navigation.ui.maps.R.drawable.mapbox_navigation_puck_icon,
70+
)
71+
)
72+
)
73+
.idlePuck(regularPuck(context))
74+
.build()
75+
}
76+
```
77+
78+
#### Known issues :warning:
79+
80+
81+
#### Other changes
82+
83+
84+
### Mapbox dependencies
85+
This release depends on, and has been tested with, the following Mapbox dependencies:
86+
- Mapbox Maps SDK `v10.10.0` ([release notes](https://github.com/mapbox/mapbox-maps-android/releases/tag/v10.10.0))
87+
- Mapbox Navigation Native `v123.1.0`
88+
- Mapbox Core Common `v23.2.1`
89+
- Mapbox Java `v6.10.0-beta.3` ([release notes](https://github.com/mapbox/mapbox-java/releases/tag/v6.10.0-beta.3))
90+
91+
3492
## Mapbox Navigation SDK 2.9.6 - 10 January, 2023
3593
### Changelog
3694
[Changes between v2.9.5 and v2.9.6](https://github.com/mapbox/mapbox-navigation-android/compare/v2.9.5...v2.9.6)

0 commit comments

Comments
 (0)