VisioMove Essential (iOS)  1.23.0

◆ setPlaceColor:()

- (BOOL) setPlaceColor: (NSDictionary< NSString *, UIColor * > *)  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
Visioglobe® 2015-2020