Internal
Use getMapData and enterprise will be inferred from key/secret.
Experimental
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' });
Deprecated
Use getMapData and enterprise will be inferred from key/secret.