I would like to get all localities/districts in a city in Saudi Arabia using Google Maps APIs or any other APIs, the input is a string with the city name, and the output is an array of strings of localities
example:
Input: "Riyadh" output:
["Al Yarmuk", "Al Munsiyah"]
preferably with Arabic and English translations
The solution I found currently is that I pass a placeholder and get the details of that location using Google Maps API however it is not sufficient
CodePudding user response:
You haven't listed why Google's service is insufficient, or what your selection criteria might be. But I will point you at performing a google search on "Geo API" as a good start. You can find both free and paid services in the results.
CodePudding user response:
you Can use GeoCoding package