Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "geocode/geocode"

Index

Variables

Const defaultParamsSerializer

defaultParamsSerializer: (Anonymous function) = serializer({bounds: latLngBoundsToString,components: objectToString})

Const defaultUrl

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

Functions

geocode

  • geocode(__namedParameters: { config: config; method: Method; params: { address?: string; bounds?: string | LatLngBounds; components?: string | GeocodeComponents; language?: string; place_id?: string; region?: string } & RequestParams; paramsSerializer: (params: any) => string; url: string }, axiosInstance?: AxiosInstance): Promise<GeocodeResponse>
  • Parameters

    • __namedParameters: { config: config; method: Method; params: { address?: string; bounds?: string | LatLngBounds; components?: string | GeocodeComponents; language?: string; place_id?: string; region?: string } & RequestParams; paramsSerializer: (params: any) => string; url: string }
      • config: config
      • method: Method
      • params: { address?: string; bounds?: string | LatLngBounds; components?: string | GeocodeComponents; language?: string; place_id?: string; region?: string } & RequestParams
      • paramsSerializer: (params: any) => string
          • (params: any): string
          • Parameters

            • params: any

            Returns string

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

    Returns Promise<GeocodeResponse>

Generated using TypeDoc