Options
All
  • Public
  • Public/Protected
  • All
Menu

Contains methods related to searching for places and retrieving details about a place.

Hierarchy

  • PlacesService

Index

Constructors

constructor

  • Contains methods related to searching for places and retrieving details about a place.

    Parameters

    • attrContainer: Map | HTMLDivElement

    Returns PlacesService

Methods

findPlaceFromPhoneNumber

findPlaceFromQuery

getDetails

nearbySearch

textSearch

  • Retrieves a list of places based on a query string (for example, "pizza in New York", or "shoe stores near Ottawa"). Location parameters are optional; when the location is specified, results are only biased toward nearby results rather than restricted to places inside the area. Use textSearch when you want to search for places using an arbitrary string, and in cases where you may not want to restrict search results to a particular location. The PlaceSearchPagination object can be used to fetch additional pages of results (null if this is the last page of results or if there is only one page of results).

    Parameters

    Returns void

Generated using TypeDoc