VisioMove Essential (iOS)  1.27.8

◆ setExcludedModalities:

- (void) setExcludedModalities: (NSArray< NSString * > *_Nonnull)  modalities

Sets the modalities that will be excluded from the routing network when a route is computed.

Parameters
modalitiesAn array of modality names to be excluded. If nil or empty, then any previously excluded modalities will be removed.
Note
The set excluded modalities will be used in addition to the accessible excluded modalities if the user chooses an accessible route.
Example
NSArray<NSString*> *lModalities = [[NSArray alloc] initWithObjects:@"UserProfile1", @"UserProfile2", nil];
[self.mMapView setExcludedModalities:lModalities];
Version
1.6
© 2022 Copyright Visioglobe, All Rights Reserved. View our Privacy Policy