fromUrl
fun fromUrl(url: Resource, color: Color, size: Double): <Error class: unknown class><<Error class: unknown class>>(source)
Creates a pin with the specified icon, color, and size.
Return
The canvas element or a Promise to the canvas element that represents the generated pin.
Parameters
url
The url of the image to be stamped onto the pin.
color
The color of the pin.
size
The size of the pin, in pixels.