[navigation] populate incoming speed camera place page #2904
Labels
No labels
Accessibility
Accessibility
Address
Address
Android
Android
Android Auto
Android Auto
Android Automotive (AAOS)
Android Automotive (AAOS)
API
API
AppGallery
AppGallery
AppStore
AppStore
Battery and Performance
Battery and Performance
Blocker
Blocker
Bookmarks and Tracks
Bookmarks and Tracks
Borders
Borders
Bug
Bug
Build
Build
CarPlay
CarPlay
Classificator
Classificator
Community
Community
Core
Core
CrashReports
CrashReports
Cycling
Cycling
Desktop
Desktop
DevEx
DevEx
DevOps
DevOps
dev_sandbox
dev_sandbox
Directions
Directions
Documentation
Documentation
Downloader
Downloader
Drape
Drape
Driving
Driving
Duplicate
Duplicate
Editor
Editor
Elevation
Elevation
Enhancement
Enhancement
Epic
Epic
External Map Datasets
External Map Datasets
F-Droid
F-Droid
Fonts
Fonts
Frequently User Reported
Frequently User Reported
Fund
Fund
Generator
Generator
Good first issue
Good first issue
Google Play
Google Play
GPS
GPS
GSoC
GSoC
iCloud
iCloud
Icons
Icons
iOS
iOS
Legal
Legal
Linux Desktop
Linux Desktop
Linux packaging
Linux packaging
Linux Phone
Linux Phone
Mac OS
Mac OS
Map Data
Map Data
Metro
Metro
Navigation
Navigation
Need Feedback
Need Feedback
Night Mode
Night Mode
NLnet 2024-06-281
NLnet 2024-06-281
No Feature Parity
No Feature Parity
Opening Hours
Opening Hours
Outdoors
Outdoors
POI Info
POI Info
Privacy
Privacy
Public Transport
Public Transport
Raw Idea
Raw Idea
Refactoring
Refactoring
Regional
Regional
Regression
Regression
Releases
Releases
RoboTest
RoboTest
Route Planning
Route Planning
Routing
Routing
Ruler
Ruler
Search
Search
Security
Security
Styles
Styles
Tests
Tests
Track Recording
Track Recording
Translations
Translations
TTS
TTS
UI
UI
UX
UX
Walk Navigation
Walk Navigation
Watches
Watches
Web
Web
Wikipedia
Wikipedia
Windows
Windows
Won't fix
Won't fix
World Map
World Map
No milestone
No project
No assignees
2 participants
Due date
No due date set.
Dependencies
No dependencies set.
Reference: organicmaps/organicmaps-tmp#2904
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "speed-camera-pp"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Adds information in the place page for incoming speed cameras (the ones shown in red).
For the moment, the place page shows the camera position and the title is the max speed if any.
I need help for this one as I have trouble retrieving the speed camera information. The
SpeedCameraMark
object does not contain a lot of information, and I was not able to retrieve the POI/Feature associated.Here is what it looks like for the moment:

But here is how regular speed cameras look like:

I would like to retrieve the information from the regular speed camera and integrate it in the
SpeedCameraMark
but I am lost on how to proceed. Could please help me understand where to look?Closes #1657
@vng is it possible?
@arnaudvergnet is this UX really needed? Drivers usually don't have time and the opportunity to tap the screen while driving. All camera info should be drawn on the screen automatically or announced via TTS.
The target is not the driver but the copilot. Everything you click in OM shows the place page, it would be strange if those speed cameras did not. The infoation people would be certainly looking for is the distance to the camera.
Generally, yes, info may be displayed.
But cameras are displayed in navigation mode only at the moment, the combination of co-pilot + navigation mode is a rare one, so the priority of that task is definitely not the highest one.
Considering how bad the TTS is on phones without Google, I would not say having a copilot is a very rare case. If it is too much work to show the camera info, a quick workaround would be to prevent the empty place page from showing.
Yeah, showing at least something, without much effort and risks to break something, is good enough.
I didn't get idea of this patch, but it would be nice to display the speed limit on the top of navigation screen.
In current version of OM when you select an incoming speed camera, it opens an empty place page. This makes the app feel unfinished and impacts user experience. This PR aims to at least fill some information in the place page. If filling information is too difficult, the place page should not be shown.
Are measurement units displayed? They are necessary.
Speed Camera type text should also be visible.
I would love to display those but I don't know how to retrieve them
@vng knows )
I have trouble understanding how the place page works in the cpp side. Seems like incoming (red) speed cameras are not handled the same way as regular (black) speed cameras. They are "user marks" and not features so I do not know how to retrieve the necessary data.
PTAL
I'm unable to fully test it on mobiles.
Works perfectly thanks!
@biodranik PTAL
Can be merged if works properly on iOS too.