VMMSCustomMapInfo
Objective-C
@interface VMMSCustomMapInfo : NSObject
Swift
class VMMSCustomMapInfo : NSObject
Class that contains custom info that can be used when creating turn by turn directions and auto-labeling waypoints.
Since
1.0-
Loads a json file that contains custom map info.
Since
1.1Declaration
Objective-C
+ (nonnull instancetype)load:(nonnull id<VMDFile>)vmdFile forMap:(nonnull VMWayfindingMap *)map options:(nonnull VMMSWaypointLabelOptions *)options;Swift
class func load(_ vmdFile: Any, for map: VMWayfindingMap, options: VMMSWaypointLabelOptions) -> SelfParameters
vmdFileFile path to the json file.
mapA VMMSMap instance.
optionsThe options to use for labeling.
-
Retrieves the metadata associated with two waypoints.
Declaration
Objective-C
- (nonnull VMMSPathMetadata *) metadataForSegmentWithStartId:(nonnull NSString *)startId andEndId:(nonnull NSString *)endId;Swift
func metadataForSegment(withStartId startId: String, andEndId endId: String) -> VMMSPathMetadataParameters
startIdThe ID of the first waypoint.
endIdThe ID of the second waypoint.
Return Value
Returns path metadata for the segment.
-
Addes a new path metadata object
Declaration
Objective-C
- (void)addPathMetadata:(nonnull VMMSPathMetadata *)meta;Swift
func add(_ meta: VMMSPathMetadata)Parameters
metathe new metadata
VMMSCustomMapInfo Class Reference