VisioMove Essential (iOS)  1.27.8

◆ animateCamera:

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

Animates the movement of the camera from the current position to the position defined in the update.

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 cameraHeadingForPlaceID:@"B2"];
builder.viewMode = VMEViewModeFloor;
builder.distanceRange = [VMECameraDistanceRange cameraDistanceRangeMinRadius:40 andMaxRadius:200];
builder.pitch = [VMECameraPitch cameraPitchWithPitch:-30] ;
}];
[self.mapView animateCamera: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