getHighlightArea method
- int highlightId = 0,
Get highlighted geographic area.
Parameters
- IN highlightId An identifier for the highlight whose area is to be retrieved, with a default value of 0.
Returns
- A RectangleGeographicArea object representing the geographic bounds of the highlighted area
Throws
- An exception if it fails.
Implementation
RectangleGeographicArea? getHighlightArea({final int highlightId = 0}) {
try {
final OperationResult resultString = objectMethod(
_pointerId,
'MapView',
'getHighlightArea',
args: highlightId,
);
return RectangleGeographicArea.fromJson(resultString['result']);
} catch (e) {
return null;
}
}