VisioMove Essential (iOS)  1.27.8

◆ addOverlayViewID:view:position:

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

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

Parameters
overlayViewIDThe id to given to overlay view. Must be unique.
viewThe native view to added to the map.
positionThe position to which the overlay view will be anchored.
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)];
VMEPosition* lPos = [[VMEPosition alloc] initWithLatitude:45.740876918853147
longitude:4.8805385544669795
altitude:3
buildingID:@"B3"
floorID:@"B3-UL01"];
[self.mapView addOverlayViewID:@"info_overlay_id" view:lView position:lPos];
A VMEPosition object represents a position incorporating the geographical coordinates,...
Definition: VMEPosition.h:20
See also
- addOverlayViewID:view:position:anchorMode:
Version
1.1
© 2022 Copyright Visioglobe, All Rights Reserved. View our Privacy Policy