icon property

BitmapDescriptor icon
final

A description of the bitmap used to draw the marker icon.

To create marker icon from assets, use AssetMapBitmap, AssetMapBitmap.create or BitmapDescriptor.asset.

To create marker icon from raw PNG data use BytesMapBitmap or BitmapDescriptor.bytes.

Implementation

final BitmapDescriptor icon;