getContourGeographicArea method
- bool relevantOnly = true,
Retrieves the contour geographic bounding rectangle for this landmark.
Landmarks can have complex contours; this method returns a rectangle that bounds
the contour. Use relevantOnly to request a reduced bounding box when available.
Parameters
relevantOnly: If true, returns the relevant (smaller) contour bounding box when available; otherwise returns the full contour bounding box.
Returns
- RectangleGeographicArea: A rectangle representing the contour's bounding box.
Implementation
RectangleGeographicArea getContourGeographicArea({
final bool relevantOnly = true,
}) {
final OperationResult resultString = objectMethod(
pointerId,
'Landmark',
'getContourGeograficArea',
args: relevantOnly,
);
return RectangleGeographicArea.fromJson(resultString['result']);
}