VisioMove Essential (iOS)  1.27.8

◆ setPlaceColor:

- (BOOL) setPlaceColor: (NSDictionary< NSString *, UIColor * > *_Nonnull)  placeIDToColor

Set a group of place colors in one call.

The color update is batched. The map will be non-responsive while the surface colors are being set.

Parameters
placeIDToColorA dictionary of placeID to color.
Returns
YES if all place colors were updated, otherwise NO.
Note
Applies to:
  • static places
  • dynamic places
Example
NSMutableDictionary<NSString*, UIColor*>* lPlaceToColor = [[NSMutableDictionary alloc] init];
[lPlaceToColor setObject:[UIColor redColor] forKey:@"B1-UL-001"];
[lPlaceToColor setObject:[UIColor redColor] forKey:@"B1-UL-002"];
[self.mapView setPlaceIDColors:lPlaceToColor];
Version
1.15
© 2022 Copyright Visioglobe, All Rights Reserved. View our Privacy Policy