Skip to content

Commit

Permalink
feat: add place_id to geocode (#413)
Browse files Browse the repository at this point in the history
  • Loading branch information
Matgsan authored Jun 12, 2020
1 parent 38f8d74 commit f860fd4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/geocode/geocode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ export interface GeocodeComponents {

export interface GeocodeRequest extends Partial<AxiosRequestConfig> {
params: {
/**
* The place_id that you want to geocode. You can retrieve this information from Places API for example.
*/
place_id?: string;
/**
* The street address that you want to geocode, in the format used by the national postal service of the country concerned.
* Additional address elements such as business names and unit, suite or floor numbers should be avoided.
Expand Down

0 comments on commit f860fd4

Please sign in to comment.