perspective property

MapViewPerspective get perspective

Current map view perspective during follow position mode

The perspective determines whether the map is displayed in 2D (flat, top-down view) or 3D (perspective view with tilt). Use setPerspective to switch between perspectives with optional animation.

Returns

Implementation

MapViewPerspective get perspective {
  final OperationResult resultString = objectMethod(
    pointerId,
    'FollowPositionPreferences',
    'getPerspective',
    dependencyId: _mapPointerId,
  );

  return MapViewPerspectiveExtension.fromId(resultString['result']);
}