Asynchronously retrieves map data (MapData) based on user-provided options.
{TGetMapDataOptions} Options provided by the user to retrieve map data.
Promise resolving to the MapData.
const data = await getMapData({ key: 'api_key', secret: 'api_secret', mapId: 'id' }); Copy
const data = await getMapData({ key: 'api_key', secret: 'api_secret', mapId: 'id' });
Experimental
Asynchronously retrieves map data (MapData) based on user-provided options.
Param: userOptions
{TGetMapDataOptions} Options provided by the user to retrieve map data.
Returns
Promise resolving to the MapData.
Example