Creates an empty pin of the specified color and size.
The canvas element that represents the generated pin.
The color of the pin.
The size of the pin, in pixels.
Online Documentation