BitmapGlyph constructor

const BitmapGlyph({
  1. required BitmapDescriptor bitmap,
})

Constructs a glyph with the specified bitmap.

bitmap is the image to be displayed in the center of the glyph. Must not be an AdvancedMarkerGlyph.

Implementation

const BitmapGlyph({required this.bitmap})
  : assert(bitmap is! AdvancedMarkerGlyph, 'BitmapDescriptor cannot be an AdvancedMarkerGlyph.'),
    super._();