Renders a map using the specified options are returns it as a buffer.
Signature:
declare function drawMap(options: MapOptions): Promise<Buffer<ArrayBufferLike>>;#Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
options |
What to include in the map. |
Returns:
Promise<Buffer<ArrayBufferLike>>
Image Buffer of the map.