getIcon

open fun getIcon(): Icon

Gets the custom icon set for this MarkerOptions object.

Return

A Icon object that the marker is using. If the icon wasn't set, default icon will return.