Merge commit '07cd1ec4f5' into traffic

# Conflicts:
#	libs/indexer/ftypes_matcher.hpp

Bug: boost/regex.hpp may not be found
Workaround: remove `if` in CMakeLists.txt:226, leave `include_directories`
This commit is contained in:
mvglasow
2025-11-23 17:04:45 +02:00
684 changed files with 15498 additions and 4773 deletions

View File

@@ -388,6 +388,21 @@ import AVFoundation
}
/// If paved roads should be avoided during routing
@objc static var shouldAvoidPavedRoadsWhileRouting: Bool {
get {
return RoutingOptions().avoidPaved
}
set {
let routingOptions = RoutingOptions()
routingOptions.avoidPaved = newValue
routingOptions.save()
NotificationCenter.default.post(name: routingOptionsChangedNotificationName, object: nil)
}
}
/// If ferries should be avoided during routing
@objc static var shouldAvoidFerriesWhileRouting: Bool {
get {