Home > @magiclane/maps-sdk > FollowPositionPreferences > setPerspective

FollowPositionPreferences.setPerspective() method

Set the map view perspective in follow position mode.

Signature:

setPerspective(perspective: MapViewPerspective, animation?: GemAnimation): void;

Parameters

Parameter

Type

Description

perspective

MapViewPerspective

animation

GemAnimation

(Optional)

Returns:

void