fromMakiIconId
fun fromMakiIconId(id: String, color: Color, size: Double): PromiseResult<HTMLCanvasElement>(source)
Creates a pin with the specified maki icon identifier, color, and size.
Return
The canvas element or a Promise to the canvas element that represents the generated pin.
Parameters
id
The id of the maki icon to be stamped onto the pin.
color
The color of the pin.
size
The size of the pin, in pixels.