getImageUrl(scale, callback)
Returns the image URL of the map feature.
Declaration
getImageUrl(
scale: number | undefined,
callback: (url?: string) => void,
): void;Discussion
The method returns the URL as the first argument of callback. The URL is a blob: URL. To avoid a memory leak, you need to revoke it with URL.revokeObjectURL() when you no longer need it.