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

  • The names list. If a road has multiple names, they will be presented as 'name1 / name2 / ... / namex'

Throws

  • An exception if it fails.

Implementation

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

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