Class PlacesService

Index

Constructor methods

Methods

Constructor methods

constructor(attrContainer: HTMLDivElement): PlacesService

Parameters

  • attrContainer: HTMLDivElement

Returns

PlacesService

constructor(attrContainer: Map): PlacesService

Parameters

  • attrContainer: Map

Returns

PlacesService

Methods

public getDetails(request: PlaceDetailsRequest, callback: (result: google.maps.places.PlaceResult, status: google.maps.places.PlacesServiceStatus) => void)

Parameters

  • request: PlaceDetailsRequest
  • callback: (result: google.maps.places.PlaceResult, status: google.maps.places.PlacesServiceStatus) => void

public nearbySearch(request: PlaceSearchRequest, callback: (results: google.maps.places.PlaceResult[], status: google.maps.places.PlacesServiceStatus, pagination: google.maps.places.PlaceSearchPagination) => void)

Parameters

  • request: PlaceSearchRequest
  • callback: (results: google.maps.places.PlaceResult[], status: google.maps.places.PlacesServiceStatus, pagination: google.maps.places.PlaceSearchPagination) => void

public textSearch(request: TextSearchRequest, callback: (results: google.maps.places.PlaceResult[], status: google.maps.places.PlacesServiceStatus) => void)

Parameters

  • request: TextSearchRequest
  • callback: (results: google.maps.places.PlaceResult[], status: google.maps.places.PlacesServiceStatus) => void