Skip to content

Commit cb6999e

Browse files
stanis-kgithub-actions[bot]
authored andcommitted
Improve road cameras callbacks (#11625) (#11718)
* Get rid of misleading showOnlyOnRoute road cams config * Refactor the UpcomingCamerasNotifier to provide a better callback events * Conflate road cameras state flow to not block emitter * Inform about removed road cams that were actually on the map * Add changelog * Update API * Fix debug log of passed cameras * Fix lint GitOrigin-RevId: cf423b9572c1a50fe5196df3ef9a699a1430e4fa
1 parent 22c0e5b commit cb6999e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
- ⚠️ Breaking change (preview API): removed `MapboxRoadCamerasDisplayConfig::showOnlyOnRoute`. Safe to remove. It's now a default behavior to show road cameras only on the route.
2+
- Fixed a bug that prevented road cameras from being removed from the map after passing them.

0 commit comments

Comments
 (0)