Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "places/placesnearby"

Index

Variables

Const defaultParamsSerializer

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

Const defaultUrl

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

Functions

placesNearby

  • placesNearby(__namedParameters: { config: config; method: Method; params: { keyword?: string; language?: Language; location: LatLng; maxprice?: number; minprice?: number; name?: string; opennow?: boolean; pagetoken?: string; radius?: number; rankby?: PlacesNearbyRanking; type?: string } & RequestParams; paramsSerializer: (params: any) => string; url: string }, axiosInstance?: AxiosInstance): Promise<PlacesNearbyResponse>
  • Parameters

    • __namedParameters: { config: config; method: Method; params: { keyword?: string; language?: Language; location: LatLng; maxprice?: number; minprice?: number; name?: string; opennow?: boolean; pagetoken?: string; radius?: number; rankby?: PlacesNearbyRanking; type?: string } & RequestParams; paramsSerializer: (params: any) => string; url: string }
      • config: config
      • method: Method
      • params: { keyword?: string; language?: Language; location: LatLng; maxprice?: number; minprice?: number; name?: string; opennow?: boolean; pagetoken?: string; radius?: number; rankby?: PlacesNearbyRanking; type?: string } & RequestParams
      • paramsSerializer: (params: any) => string
          • (params: any): string
          • Parameters

            • params: any

            Returns string

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

    Returns Promise<PlacesNearbyResponse>

Generated using TypeDoc