perspective property

MapViewPerspective get perspective

Get the map view perspective in follow position mode.

Returns

  • The map perspective

Throws

  • An exception if it fails.

Implementation

MapViewPerspective get perspective {
  final OperationResult resultString = objectMethod(
    _pointerId,
    'FollowPositionPreferences',
    'getPerspective',
  );

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