openapi-specification icon indicating copy to clipboard operation
openapi-specification copied to clipboard

PlacesAPI: TextSearch region and radius parameters are not working

Open AndreiPrigorkin opened this issue 2 years ago • 2 comments

Environment details

  1. Places API
  2. Ubuntu 22.04
  3. Last Places API version

Steps to reproduce

  1. I tried searching <Aliki restaurant> (in Dammam, Saudi Arabia) with Text search API call with selected radius=10000 and region='SA'
  2. And I'm getting <Aliki> as city in Greece in response constantly, despite restricted region and radius. So region and radius parameters are not working.

Please fix it.

AndreiPrigorkin avatar Feb 14 '23 22:02 AndreiPrigorkin

If you would like to upvote the priority of this issue, please comment below or react with :+1: so we can see what is popular when we triage.

@AndreiPrigorkin Thank you for opening this issue. 🙏 Please check out these other resources that might help you get to a resolution in the meantime:

This is an automated message, feel free to ignore.

wangela avatar Feb 14 '23 22:02 wangela

@AndreiPrigorkin can you provide your API query? I'm getting good results with this: https://maps.googleapis.com/maps/api/place/textsearch/json?key=API_KEY&query=Dammam

Perhaps your location parameter is bad?

nora-soderlund avatar Feb 19 '23 11:02 nora-soderlund