| 949 | } |
| 950 | |
| 951 | int BookmarkManager::GetTrackSelectionMarkMinZoom(kml::TrackId trackId) const |
| 952 | { |
| 953 | auto track = GetTrack(trackId); |
| 954 | CHECK(track != nullptr, ()); |
| 955 | |
| 956 | auto const zoom = std::min(df::GetDrawTileScale(track->GetLimitRect()), 14); |
| 957 | return zoom; |
| 958 | } |
| 959 | |
| 960 | void BookmarkManager::SetTrackSelectionMark(kml::TrackId trackId, m2::PointD const & pt, double distance) |
| 961 | { |
nothing calls this directly
no test coverage detected