VMVectorWalkingPathOverlay
@interface VMVectorWalkingPathOverlay : VMWalkingPathOverlay
Concrete class for enabling wayfinding visualization w/ vector maps
Since
1.1-
Default initializer
Declaration
Swift
- (instancetype)initWithMap:(VMMapView *)map;
Parameters
map
reference to a VMMapView object to draw on
Return Value
reference to object
-
Add’s start/end map annotations
Since
1.2
Declaration
Swift
- (VMPointAnnotation *)addMarkerForWaypoint:(VMMSWaypoint *)wp isStart:(BOOL)isStarting;
Parameters
wp
the waypoint
isStarting
true if it’s the starting waypoint
Return Value
the map annotation
-
Current map annotations in the waypath
Since
1.2Declaration
Swift
@property (readwrite, strong, nonatomic) NSMutableArray<VMPointAnnotation *> *currentMarkers;