VisioMove Essential (iOS)  1.27.8

◆ addOverlayViewID:view:placeID:

- (BOOL) addOverlayViewID: (NSString *_Nonnull)  overlayViewID
view: (UIView *_Nonnull)  view
placeID: (NSString *_Nonnull)  placeID 

Adds a native overlay view above the map that's associated with a place.

Parameters
overlayViewIDThe id to given to overlay view. Must be unique.
viewThe native view to added to the map.
placeIDThe view will be anchored to the center point of the place with this ID. The bottom center of the view will be tied to the place.
Returns
YES if the overlay was added to the map, otherwise NO.
Note
By default the anchor mode will be set to VMEAnchorModeBottomCenter.
Example
View* lView = [[UIView alloc] initWithFrame:CGRectMake(0, 0, 200, 100)];
[self.mapView addOverlayViewID:@"info_overlay_id" view:lView placeID:@"B2-LL01-ID0008"];
Version
1.1
© 2022 Copyright Visioglobe, All Rights Reserved. View our Privacy Policy