Function getMapData

Asynchronously retrieves map data (MapData) based on user-provided options.

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' });