fetchMap()

API reference for fetchMap() in @erlcjs/map.

Fetches the map from the ER:LC API.

Signature:

declare function fetchMap(map: MapType): Promise<ArrayBuffer>;

#Parameters

Parameter

Type

Description

map

MapType

The map type to fetch.

Returns:

Promise<ArrayBuffer>

Array Buffer of the map.