setIcon

open fun setIcon(icon: Icon): T

Set the icon of the Marker.

Return

the object for which the method was called.

Parameters

icon

the icon of the Marker.