geographicArea property

RectangleGeographicArea get geographicArea
inherited

Get geographic area of the route

The geographic area is the smallest rectangle that can be drawn around the route.

Returns

Throws

  • An exception if it fails.

Implementation

RectangleGeographicArea get geographicArea {
  final OperationResult resultString = objectMethod(
    _pointerId,
    'RouteSegmentBase',
    'getGeographicArea',
  );

  return RectangleGeographicArea.fromJson(resultString['result']);
}