drawPin

fun drawPin(position: Position, icon: String? = "")

Draw a pin in the passed position. The pin has the icon passed as parameter.

Parameters

position

object position

icon

a String the represent absolute or relative path to the icon.