check if a place is within an area (place_id)

Viewed 1469

I have a google maps place defined by their place_id s.

The place can refer to:

  • an address, eg 221B Baker St, Marylebone, London NW1 6XE, UK : ChIJFbp6NM8adkgRdOYUaV-EQlw
  • Or a general area eg London NW1, UK: ChIJoZM_S7EadkgR_T2MfOBVirE

I would like to know, using google maps API, whether a given address is inside the previous area or near the previously defined address (distance can be defined as a birth flight distance from the previous place).

1 Answers
Related