pinConfig static method

BitmapDescriptor pinConfig({
  1. Color? backgroundColor,
  2. Color? borderColor,
  3. AdvancedMarkerGlyph? glyph,
})

Creates a BitmapDescriptor that can be used to customize AdvancedMarker's pin.

backgroundColor is the color of the pin's background. borderColor is the color of the pin's border. glyph is the pin's glyph to be displayed on the pin.

See PinConfig for more information on the parameters.

Returns a new PinConfig instance.

Implementation

static BitmapDescriptor pinConfig({
  Color? backgroundColor,
  Color? borderColor,
  AdvancedMarkerGlyph? glyph,
}) {
  return PinConfig(
    backgroundColor: backgroundColor,
    borderColor: borderColor,
    glyph: glyph,
  );
}