VisioMove Essential (iOS)  1.27.3

◆ updateCamera:()

- (void) updateCamera: (VMECameraUpdate *_Nonnull)  update

Repositions the camera according to the instructions defined in the update.

The update is instantaneous.

See also
VMECameraUpdate for the available update Create Map View.
Parameters
updateThe update to apply.
Example
VMECameraUpdate* lUpdate = [VMECameraUpdate cameraUpdateWithBuilderBlock:^(VMECameraUpdateBuilder *builder) {
builder.targets = [NSArray arrayWithObject:@"B2-UL00"];
builder.heading = [VMECameraHeading cameraHeadingCurrent];
builder.viewMode = VMEViewModeFloor;
builder.distanceRange = [VMECameraDistanceRange cameraDistanceRangeMinRadius:40 andMaxRadius:200];
builder.pitch = [VMECameraPitch cameraPitchWithPitch:-30] ;
}];
[self.mapView updateCamera:lUpdate];
Version
1.2
© 2022 Copyright Visioglobe, All Rights Reserved. View our Privacy Policy