Stay organized with collections
Save and categorize content based on your preferences.
GMSNavigationStepInfoImageOptions
@interfaceGMSNavigationStepInfoImageOptions:NSObject/**
* The object which provides screen metrics for the screen the image will be displayed on. In most
* cases, developers can pass the instance of UIScreen for the screen where the image will be
* displayed. This property defaults to UIScreen.mainScreen.
*/@property(nonatomic,nullable)id<GMSNavigationScreenMetrics>screenMetrics;/**
* The image size for maneuverImage in `GMSNavigationStepInfo`.
* Defaults to `GMSNavigationManeuverImageSizeSquare96`.
*/@property(nonatomic)GMSNavigationManeuverImageSizemaneuverImageSize;-(instancetype)initNS_DESIGNATED_INITIALIZER;@end
The object which provides screen metrics for the screen the image will be displayed on. In most
cases, developers can pass the instance of UIScreen for the screen where the image will be
displayed. This property defaults to UIScreen.mainScreen.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-11-15 UTC."],[[["\u003cp\u003e\u003ccode\u003eGMSNavigationStepInfoImageOptions\u003c/code\u003e customizes the images displayed in navigation steps, like maneuver icons.\u003c/p\u003e\n"],["\u003cp\u003eIt allows developers to define the screen metrics used for image rendering, defaulting to the main screen.\u003c/p\u003e\n"],["\u003cp\u003eYou can specify the size of maneuver images, with \u003ccode\u003eGMSNavigationManeuverImageSizeSquare96\u003c/code\u003e being the default.\u003c/p\u003e\n"]]],["`GMSNavigationStepInfoImageOptions` configures image display. It includes `screenMetrics`, which determines the screen's metrics, defaulting to `UIScreen.mainScreen`. `maneuverImageSize` specifies the size of the maneuver image in `GMSNavigationStepInfo`, defaulting to `GMSNavigationManeuverImageSizeSquare96`. The class offers an `init` method for instantiation. Developers can set these properties to customize how maneuver images appear.\n"],null,["GMSNavigationStepInfoImageOptions \n\n @interface GMSNavigationStepInfoImageOptions : NSObject\n /**\n * The object which provides screen metrics for the screen the image will be displayed on. In most\n * cases, developers can pass the instance of UIScreen for the screen where the image will be\n * displayed. This property defaults to UIScreen.mainScreen.\n */\n @property(nonatomic, nullable) id\u003c../Protocols/GMSNavigationScreenMetrics.html\u003e screenMetrics;\n\n /**\n * The image size for maneuverImage in `GMSNavigationStepInfo`.\n * Defaults to `GMSNavigationManeuverImageSizeSquare96`.\n */\n @property(nonatomic) ../Enums/GMSNavigationManeuverImageSize.html maneuverImageSize;\n\n - (instancetype)init NS_DESIGNATED_INITIALIZER;\n\n @end\n\n- `\n ``\n ``\n `\n\n [screenMetrics](#/c:objc(cs)GMSNavigationStepInfoImageOptions(py)screenMetrics)`\n ` \n The object which provides screen metrics for the screen the image will be displayed on. In most\n cases, developers can pass the instance of UIScreen for the screen where the image will be\n displayed. This property defaults to UIScreen.mainScreen. \n\n Declaration \n Swift \n\n var screenMetrics: (any ../Protocols/GMSNavigationScreenMetrics.html)? { get set }\n\n Objective-C \n\n @property (nonatomic, nullable) id\u003c../Protocols/GMSNavigationScreenMetrics.html\u003e screenMetrics;\n\n- `\n ``\n ``\n `\n\n [maneuverImageSize](#/c:objc(cs)GMSNavigationStepInfoImageOptions(py)maneuverImageSize)`\n ` \n The image size for maneuverImage in [GMSNavigationStepInfo](../Classes/GMSNavigationStepInfo.html).\n Defaults to `GMSNavigationManeuverImageSizeSquare96`. \n\n Declaration \n Swift \n\n var maneuverImageSize: ../Enums/GMSNavigationManeuverImageSize.html { get set }\n\n Objective-C \n\n @property (nonatomic) ../Enums/GMSNavigationManeuverImageSize.html maneuverImageSize;\n\n- `\n ``\n ``\n `\n\n [-init](#/c:objc(cs)GMSNavigationStepInfoImageOptions(im)init)`\n ` \n\n Declaration \n Swift \n\n init()\n\n Objective-C \n\n - (instancetype)init NS_DESIGNATED_INITIALIZER;"]]