Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Get cities by state and country Google API

I try to use Google Places API for this goal, and I know how to get cities by country. But I need add option for search by country and state of USA. May be I should use some another API.

like image 844
Oleksii Sytar Avatar asked Jan 20 '26 01:01

Oleksii Sytar


1 Answers

Currently it is not supported in Places API.

There is a feature request in the public issue tracker to add this functionality:

https://issuetracker.google.com/issues/35822067

Feel free to star the feature request to add your vote.

A workaround might be using bounds for each state and option strictBounds: true to restrict result to certain area.

like image 158
xomena Avatar answered Jan 23 '26 02:01

xomena