Function getMapDataEnterpriseInternal

Use getMapData and enterprise will be inferred from key/secret.

  • Experimental

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

    Parameters

    • userOptions: TGetMapDataOptions

      {TGetMapDataOptions} Options provided by the user to retrieve map data.

    Returns Promise<MapData>

    Promise resolving to the MapData.

    const data = await getMapData({ key: 'api_key', secret: 'api_secret', mapId: 'id' });