VisioMove Essential (iOS)  1.27.8

◆ addOverlayViewID:view:placeID:anchorMode:

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

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.
anchorModeThe part of the view to be anchored to the map.
Returns
YES if the overlay was added to the map, otherwise NO.
Example
View* lView = [[UIView alloc] initWithFrame:CGRectMake(0, 0, 200, 100)];
[self.mapView addOverlayViewID:@"info_overlay_id" view:lView placeID:@"B2-LL01-ID0008" anchorMode:VMEAnchorModeCenterLeft];
@ VMEAnchorModeCenterLeft
Anchor to the center left.
Definition: VMEAnchorMode.h:39
Version
1.14
© 2022 Copyright Visioglobe, All Rights Reserved. View our Privacy Policy