image property

MapBitmap image
final

A description of the bitmap used to draw the ground overlay.

To create ground overlay from assets, use AssetMapBitmap, AssetMapBitmap.create or BitmapDescriptor.asset.

To create ground overlay from raw PNG data use BytesMapBitmap or BitmapDescriptor.bytes.

MapBitmap.bitmapScaling must be set to MapBitmapScaling.none.

Implementation

final MapBitmap image;