Skip to content

Commit 23c6aff

Browse files
stanis-kgithub-actions[bot]
authored andcommitted
Provide speed zone and danger zone information via callback of RoadCamerasManager (#9730)
* Add support for speed zone and danger zone cameras * Add changelog. * Update API dump * Fix compilation problem * Don't expose MapboxSpeedZoneInfo as data class * Simplify MapboxSpeedZoneInfo class. Simplify and refactor API. * Fix compilation * Fix RoadCamActivity * Add test for parsing section control cameras from json * Add more tests for speed zones * Clean out * Fix ktlint * Rename callback methods * Add default impls for the rest of UpcomingCamerasObserver fun * Fix * Simplify MapboxRoadCamera by not exposing roadObjectId. Use roadObjectId as id of camera. * Fix dash app * Fix test * Fix detekt * Include route index to buildRoadObjectId * Fix calculation of distance to camera on an upcoming leg * Fix test * Fix ktlint * Fix ktlint GitOrigin-RevId: 53ef1a27dd8435e4503388aa6f7061ccdcfd54a4
1 parent 8cfbe6c commit 23c6aff

File tree

1 file changed

+1
-0
lines changed
  • changelog/unreleased/features

1 file changed

+1
-0
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
- Added `MapboxSpeedZoneInfo` class to represent speed zone information. Available through `UpcomingCamerasObserver::onSpeedZoneInfo` and `RoadCamerasMapCallback::onSpeedZoneInfo` callbacks.

0 commit comments

Comments
 (0)