getImageUrl(ratio, callback)

Returns the URL to an image of the specified scale.

Declaration

getImageUrl(ratio: number, callback: (url?: string) => void): void;