setImage Method
Set the Marker.image for this marker.
setImage(image: MarkerImage | Promise<MarkerImage>): void
Parameter | Type | Description |
---|---|---|
image | MarkerImage | Promise<MarkerImage> | Either a MarkerImage or a Promise for a MarkerImage. If a Promise is supplied, the Marker.image member is set when the Promise resolves. |
Defined in
Last Updated: 08 January, 2020