Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "timezone"

Index

Variables

Const defaultParamsSerializer

defaultParamsSerializer: (Anonymous function) = serializer({timestamp: toTimestamp,location: latLngToString})

Const defaultUrl

defaultUrl: "https://maps.googleapis.com/maps/api/timezone/json" = "https://maps.googleapis.com/maps/api/timezone/json"

Functions

timezone

  • timezone(__namedParameters: { config: config; method: Method; params: { language?: Language; location: LatLng; timestamp: Date | number } & RequestParams; paramsSerializer: (params: any) => string; url: string }, axiosInstance?: AxiosInstance): Promise<TimeZoneResponse>
  • Parameters

    • __namedParameters: { config: config; method: Method; params: { language?: Language; location: LatLng; timestamp: Date | number } & RequestParams; paramsSerializer: (params: any) => string; url: string }
      • config: config
      • method: Method
      • params: { language?: Language; location: LatLng; timestamp: Date | number } & RequestParams
      • paramsSerializer: (params: any) => string
          • (params: any): string
          • Parameters

            • params: any

            Returns string

      • url: string
    • Default value axiosInstance: AxiosInstance = defaultAxiosInstance

    Returns Promise<TimeZoneResponse>

Generated using TypeDoc