This is the documentation of version 0.62.3. Go to the latest version, 1.0.0-rc.5.
TomTom Maps for JavaScript
    Preparing search index...

    Type Alias PlacesWithEVAvailabilityOptions

    PlacesWithEVAvailabilityOptions: Omit<ChargingStationsAvailabilityParams, "id"> & {
        excludeIfAvailabilityUnknown?: boolean;
        maxConcurrentRequests?: number;
    }

    Options of getPlacesWithEVAvailability: the common service parameters forwarded to each availability request, how many of those requests may be in flight at once, and what to do with the places left without availability.

    Type Declaration

    • OptionalexcludeIfAvailabilityUnknown?: boolean

      If true, places with unknown availability are filtered out. Otherwise, they are returned unchanged.

      false
      
    • OptionalmaxConcurrentRequests?: number

      The most availability requests in flight at once. Values below 1 count as 1.

      Each request counts against your API key's QPS (queries per second) limit. The SDK retries a rate-limited (429) request with backoff bounded by the global retry.timeoutMs, so a value above that limit slows the call down; a request still rejected leaves its place with unknown availability.

      1