API to type city name and get a list of possible cities? [closed]

There is the Google Places Autocomplete API, https://developers.google.com/places/documentation/autocomplete and a library for Maps Version 3 at https://developers.google.com/maps/documentation/javascript/places#places_autocomplete but I don’t know how well it will cope with different names for the same city — although, having tried it, it does present Munich, Germany for munchen — see how well your use case performs.

Google Maps API OVER QUERY LIMIT per second limit

The geocoder has quota and rate limits. From experience, you can geocode ~10 locations without hitting the query limit (the actual number probably depends on server loading). The best solution is to delay when you get OVER_QUERY_LIMIT errors, then retry. See these similar posts: OVER_QUERY_LIMIT in Google Maps API v3: How do I pause/delay in … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)