Home > @magiclane/maps-sdk > MapViewPreferences > setMapViewPerspective

MapViewPreferences.setMapViewPerspective() method

Set the map view perspective.

Signature:

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

Parameters

Parameter

Type

Description

perspective

MapViewPerspective

animation

GemAnimation

(Optional)

Returns:

void