Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PlacesAPI: TextSearch region and radius parameters are not working #445

Open
AndreiPrigorkin opened this issue Feb 14, 2023 · 2 comments
Open
Assignees
Labels
triage me I really want to be triaged. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.

Comments

@AndreiPrigorkin
Copy link

Environment details

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

Steps to reproduce

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

Please fix it.

@AndreiPrigorkin AndreiPrigorkin added triage me I really want to be triaged. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns. labels Feb 14, 2023
@wangela
Copy link
Member

wangela commented Feb 14, 2023

If you would like to upvote the priority of this issue, please comment below or react with 👍 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.

@nora-soderlund
Copy link
Contributor

@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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triage me I really want to be triaged. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Projects
None yet
Development

No branches or pull requests

3 participants