VMWayfindingMapViewDelegate
@objc
public protocol VMWayfindingMapViewDelegate : VMMapViewDelegate
Delegate for wayfinding-enabled map view
Since
1.4-
Called to provide a custom view for a waypoint annotation
Declaration
Swift
@objc optional func viewForWaypointAnnotation(_ annotation: VMWaypointAnnotation) -> UIView?
Parameters
annotation
the annotation
Return Value
the custom view
-
Called to provide a custom image for the floor change annotation button
Declaration
Swift
@objc optional func imageForFloorChangeAnnotation(_ annotation: VMFloorChangePointAnnotation) -> UIImage?
Parameters
annotation
the annotation
Return Value
the custom image
-
Called to provide a custom image for a landmark annotation
Declaration
Swift
@objc optional func imageForLandmarkAnnotation(_ annotation: VMLandmarkAnnotation) -> UIImage?
Parameters
annotation
the annotation
Return Value
the custom image
-
Called when floor change annotation is selected
Declaration
Swift
@objc optional func didSelectFloorChangeAnnotation(_ annotation: VMFloorChangePointAnnotation)
Parameters
annotation
the annotation