| 1792 | } |
| 1793 | |
| 1794 | void Framework::MarkMapStyle(MapStyle mapStyle) |
| 1795 | { |
| 1796 | ASSERT_NOT_EQUAL(mapStyle, MapStyle::MapStyleMerged, ()); |
| 1797 | |
| 1798 | // Store current map style before classificator reloading |
| 1799 | string mapStyleStr = MapStyleToString(mapStyle); |
| 1800 | if (mapStyleStr.empty()) |
| 1801 | { |
| 1802 | mapStyle = kDefaultMapStyle; |
| 1803 | mapStyleStr = MapStyleToString(mapStyle); |
| 1804 | } |
| 1805 | settings::Set(kMapStyleKey, mapStyleStr); |
| 1806 | GetStyleReader().SetCurrentStyle(mapStyle); |
| 1807 | } |
| 1808 | |
| 1809 | void Framework::SetMapStyle(MapStyle mapStyle) |
| 1810 | { |
no test coverage detected