mirror of
https://codeberg.org/comaps/comaps
synced 2026-01-07 13:03:54 +00:00
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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user