VisioMove Essential (iOS)  1.27.8

◆ 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];
@ VMEViewModeFloor
In floor mode, the following occurs:
Definition: VMEViewMode.h:34
VMECameraDistanceRange represents a distance element that may be associated with a VMECameraUpdate ob...
Definition: VMECameraDistanceRange.h:30
VMECameraHeading represents a heading element that may be associated with a VMECameraUpdate object.
Definition: VMECameraHeading.h:20
VMECameraPitch represents a pitch element that may be associated with a VMECameraUpdate object.
Definition: VMECameraPitch.h:21
NSArray * targets
An array of targets for the camera to focus on.
Definition: VMECameraUpdate.h:69
Used to build a VMECameraUpdate object.
Definition: VMECameraUpdateBuilder.h:21
Represents a camera update that can be applied to the VMEMapView.
Definition: VMECameraUpdate.h:29
Version
1.2
© 2022 Copyright Visioglobe, All Rights Reserved. View our Privacy Policy