fromColor

Creates an empty pin of the specified color and size.

Return

The canvas element that represents the generated pin.

Parameters

color

The color of the pin.

size

The size of the pin, in pixels.

See also