setIcon

abstract fun setIcon(icon: Drawable?)

Sets the icon to display for the marker. Note: this overrides setBackgroundColor.

Parameters

icon

Drawable representing the icon or null to use the provider's default icon.