| 827 | } |
| 828 | |
| 829 | void Framework::FillSpeedCameraMarkInfo(SpeedCameraMark const & speedCameraMark, place_page::Info & info) const |
| 830 | { |
| 831 | info.SetCanEditOrAdd(false); |
| 832 | info.SetMercator(speedCameraMark.GetPivot()); |
| 833 | |
| 834 | // Title is a speed limit, if any. |
| 835 | auto title = speedCameraMark.GetTitle(); |
| 836 | if (!title.empty()) |
| 837 | title = title + " " + platform::GetLocalizedSpeedUnits(measurement_utils::GetMeasurementUnits()); |
| 838 | |
| 839 | info.SetCustomNames(title, localisation::TranslatedFeatureType("highway-speed_camera")); |
| 840 | } |
| 841 | |
| 842 | void Framework::FillTransitMarkInfo(TransitMark const & transitMark, place_page::Info & info) const |
| 843 | { |
nothing calls this directly
no test coverage detected