Skip to content

Commit d8a4448

Browse files
changelog for v2.10.0-rc.2 (#6830)
Co-authored-by: root <root@8aa05807a2fb>
1 parent 9b0e156 commit d8a4448

File tree

3 files changed

+58
-1
lines changed

3 files changed

+58
-1
lines changed

CHANGELOG.md

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,64 @@ Mapbox welcomes participation and contributions from everyone.
4242
- Introduced `NavigationViewListener.onSpeedInfoClicked` that would be triggered when `MapboxSpeedInfoView` is clicked upon. [#6770](https://github.com/mapbox/mapbox-navigation-android/pull/6770)
4343

4444

45+
## Mapbox Navigation SDK 2.10.0-rc.2 - 12 January, 2023
46+
### Changelog
47+
[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)
48+
49+
#### Features
50+
- 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)
51+
- Introduced `ViewStyleCustomization.speedInfoOptions` to style the `MapboxSpeedInfoView` using Drop-In UI. [#6743](https://github.com/mapbox/mapbox-navigation-android/pull/6743)
52+
- 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)
53+
- :warning: Deprecated `ViewStyleCustomization.setSpeedLimitStyle` and `ViewStyleCustomization.setSpeedLimitTextAppearance`. [#6743](https://github.com/mapbox/mapbox-navigation-android/pull/6743)
54+
To use the legacy speed limit view, add the following code:
55+
```kotlin
56+
binding.navigationView.customizeViewBinders {
57+
binding.navigationView.customizeViewBinders {
58+
speedLimitBinder = legacySpeedLimitBinder()
59+
}
60+
}
61+
```
62+
- Introduced `NavigationViewListener.onSpeedInfoClicked` that would be triggered when `MapboxSpeedInfoView` is clicked upon. [#6770](https://github.com/mapbox/mapbox-navigation-android/pull/6770)
63+
- 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)
64+
65+
#### Bug fixes and improvements
66+
- 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)
67+
- Fixed standalone `MapboxManeuverView` appearance when the app also integrates Drop-In UI. [#6810](https://github.com/mapbox/mapbox-navigation-android/pull/6810)
68+
- 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)
69+
- Fixed an issue where the first voice instruction might have been played twice. [#6766](https://github.com/mapbox/mapbox-navigation-android/pull/6766)
70+
- :warning: Updated the `NavigationView` default navigation puck asset. [#6678](https://github.com/mapbox/mapbox-navigation-android/pull/6678)
71+
72+
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:
73+
```kotlin
74+
navigationView.customizeViewStyles {
75+
locationPuckOptions = LocationPuckOptions.Builder(context)
76+
.defaultPuck(
77+
LocationPuck2D(
78+
bearingImage = ContextCompat.getDrawable(
79+
context,
80+
com.mapbox.navigation.ui.maps.R.drawable.mapbox_navigation_puck_icon,
81+
)
82+
)
83+
)
84+
.idlePuck(regularPuck(context))
85+
.build()
86+
}
87+
```
88+
89+
#### Known issues :warning:
90+
91+
92+
#### Other changes
93+
94+
95+
### Mapbox dependencies
96+
This release depends on, and has been tested with, the following Mapbox dependencies:
97+
- Mapbox Maps SDK `v10.10.0` ([release notes](https://github.com/mapbox/mapbox-maps-android/releases/tag/v10.10.0))
98+
- Mapbox Navigation Native `v123.1.0`
99+
- Mapbox Core Common `v23.2.1`
100+
- Mapbox Java `v6.10.0-beta.3` ([release notes](https://github.com/mapbox/mapbox-java/releases/tag/v6.10.0-beta.3))
101+
102+
45103
## Mapbox Navigation SDK 2.10.0-rc.1 - 16 December, 2022
46104
### Changelog
47105
[Changes between v2.10.0-beta.3 and v2.10.0-rc.1](https://github.com/mapbox/mapbox-navigation-android/compare/v2.10.0-beta.3...v2.10.0-rc.1)

changelog/unreleased/CHANGELOG.md

Whitespace-only changes.

changelog/unreleased/features/6792.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)