| 42 | } |
| 43 | |
| 44 | MaxspeedType Maxspeeds::GetDefaultSpeed(bool inCity, HighwayType hwType) const |
| 45 | { |
| 46 | auto const & theMap = m_defaultSpeeds[inCity ? 1 : 0]; |
| 47 | auto const it = theMap.find(hwType); |
| 48 | return (it != theMap.end()) ? it->second : kInvalidSpeed; |
| 49 | } |
| 50 | |
| 51 | bool Maxspeeds::HasForwardMaxspeed(uint32_t fid) const |
| 52 | { |