VMMSMapDelegate
@protocol VMMSMapDelegate <NSObject>
The VMMSMapDelegate protocol defines the required and optional methods for an object to implement.
Since
1.0-
Called when the VMD file is done loading SUCCESSFULLY
Since
1.1Warning
Deprecated in 1.2.1. Use didFinishLoadingVenueMapData:customMapInfo: instead.Declaration
Swift
- (void)didFinishLoadingMap:(VMMSMap *)vmd customMapInfo:(VMMSCustomMapInfo *)customMapInfo;Parameters
vmda VMMSMap object
customMapInfoa VMMSCustommapInfo object
-
Called when the VMD file is done loading SUCCESSFULLY
Since
1.2.1Declaration
Swift
- (void)didFinishLoadingVenueMapData:(VMMSMap *)vmd customMapInfo:(VMMSCustomMapInfo *)customMapInfo;Parameters
vmda VMMSMap object
customMapInfoa VMMSCustommapInfo object
-
Called when the VMD file FAILS to load
Warning
Deprecated in 1.2.1. Use didFinishLoadingVenueMapData:customMapInfo: instead.Declaration
Swift
- (void)didFailToLoadMapWithError:(NSError *)error;Parameters
errorthe exception that was raised during load
-
Since
1.2.1Declaration
Swift
- (void)didFailToLoadVenueMapDataWithError:(NSError *)error; -
Called when the VMD is done loading SUCCESSFULLY
Since
1.0Warning
Deprecated in 1.1. Use didFinishLoadingMap:customMapInfo: insteadDeclaration
Swift
- (void)didFinishLoadingMap:(VMMSMap *)map;Parameters
mapa Map object with waypoint data
-
Called when the custom map info is done loading SUCCESSFULLY
Since
1.0Warning
Deprecated in 1.1. Use didFinishLoadingMap:customMapInfo: insteadDeclaration
Swift
- (void)didFinishLoadingCustomMapInfo:(VMMSCustomMapInfo *)info;Parameters
infoa VMMSCustomMapInfo object
-
Called when an error occurred while parsing the custom map info
Since
1.0Warning
Deprecated in 1.1. Use didFailToLoadMapWithError: insteadDeclaration
Swift
- (void)didFailToLoadCustomMapInfoWithError:(NSError *)error;Parameters
errorThe exception that was raised
-
Called when wayfinding path is found
Since
1.0Warning
Deprecated in 1.1. Use VMMSWayfindingDelegate insteadDeclaration
Swift
- (void)didFinishFindingWaypath:(VMMSWaypath *)waypath;Parameters
waypaththe Waypath that leads from the starting point to the ending point
-
Called when an error occurred while attempting to find a waypath.
Since
1.0Warning
Deprecated in 1.1. Use VMMSWayfindingDelegate insteadDeclaration
Swift
- (void)didFailToFindWaypathWithError:(NSError *)error;Parameters
errorThe exception that was raised during waypath finding.
-
Called when turn by turn directions are completed
Since
1.0Warning
Deprecated in 1.1. Use VMMSWayfindingDelegate insteadDeclaration
Swift
- (void)didFinishCreatingTurnByTurnDirections: (NSArray<VMMSMapDirectionStep *> *)turnByTurnDirections;Parameters
turnByTurnDirectionslist of directions
-
DEPRECATED - Use VMMSWayfindingDelegate instead Called when the system is unable to generate turn by turn directions
Since
1.0Warning
Deprecated in 1.1. Use VMMSWayfindingDelegate insteadDeclaration
Swift
- (void)didFailToCreateTurnByTurnDirectionsWithError:(NSError *)error;Parameters
errorthe exception that was raised
VMMSMapDelegate Protocol Reference