overlays property

MapViewOverlayCollection get overlays

Get access to the collection of visible overlays.

Returns

  • The overlays collection

Throws

  • An exception if it fails.

Implementation

MapViewOverlayCollection get overlays {
  final OperationResult resultString = objectMethod(
    _pointerId,
    'MapViewPreferences',
    'overlays',
  );

  return MapViewOverlayCollection.init(resultString['result'], _mapId);
}