setImage Method
Set the 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 image member is set when the Promise resolves. |
Returns - void
Defined in
- core/frontend/src/Marker.ts Line 229
Last Updated: 17 December, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.