MapViewRouteObject
Objective-C
@interface MapViewRouteObject : NSObject
Swift
class MapViewRouteObject : NSObject
This class encapsulates route information.
-
Initializes and returns a newly allocated object using the model data.
Declaration
Objective-C
- (nonnull instancetype)initWithModelData:(nonnull void *)data;
-
Returns the model data.
Declaration
Objective-C
- (nonnull void *)getModelData;
-
Returns the route object.
-
Sets the route object.
Declaration
Objective-C
- (void)setRoute:(nonnull RouteObject *)routeObject;
Swift
func setRoute(_ routeObject: RouteObject)
-
Returns the route label text.
Declaration
Objective-C
- (nonnull NSString *)getLabelText;
Swift
func getLabelText() -> String
-
Sets the route label text.
Declaration
Objective-C
- (void)setLabelText:(nonnull NSString *)text;
Swift
func setLabelText(_ text: String)
-
Returns the route label images.
Declaration
Objective-C
- (nonnull NSArray<ImageObject *> *)getLabelImages;
Swift
func getLabelImages() -> [ImageObject]
-
Sets the route label images.
Declaration
Objective-C
- (void)setLabelImages:(nonnull NSArray<ImageObject *> *)array;
Swift
func setLabelImages(_ array: [ImageObject])
-
Hides the route label.
Declaration
Objective-C
- (void)hideRouteLabel;
Swift
func hideRouteLabel()
-
Returns the map view route render settings.
Declaration
Objective-C
- (nonnull MapViewRouteRenderSettings *)getRenderSettings;
Swift
func getRenderSettings() -> MapViewRouteRenderSettings
-
Set the map view route render settings.
Declaration
Objective-C
- (void)setRenderSettings:(nonnull MapViewRouteRenderSettings *)settings;
Swift
func setRenderSettings(_ settings: MapViewRouteRenderSettings)