[ios] Add UI for avoiding paved roads

Signed-off-by: Yannik Bloscheck <git@yannikbloscheck.com>
This commit is contained in:
Yannik Bloscheck
2025-09-27 14:45:53 +02:00
committed by Yannik Bloscheck
parent 90c12003bd
commit 8b4eab3444
17 changed files with 413 additions and 64 deletions

View File

@@ -6,7 +6,8 @@ typedef NS_ENUM(NSInteger, MWMRoadType) {
MWMRoadTypeDirty,
MWMRoadTypeFerry,
MWMRoadTypeMotorway,
MWMRoadTypeSteps
MWMRoadTypeSteps,
MWMRoadTypePaved
};
typedef void (^MWMImageHeightBlock)(UIImage *, NSString *, NSString *);

View File

@@ -592,6 +592,9 @@ char const *kRenderAltitudeImagesQueueLabel = "mapsme.mwmrouter.renderAltitudeIm
case MWMRoadTypeDirty:
options.avoidDirty = YES;
break;
case MWMRoadTypePaved:
options.avoidPaved = YES;
break;
case MWMRoadTypeFerry:
options.avoidFerry = YES;
break;