fromUrl

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.

See also