bwm561
1
Hi all,
Need some advice on setting up locations on my app. My app has users who register their university/business and set up a profile for it. I have Google Maps and Google APIs enabled. My question: What’s the best way to link their organization to its location and then display it on a map? Since locations would be common business locations (e.g. Harvard University), is there some way to do this automatically? Or should users literally enter their address or city and then I would link it that way?
I’m sure there’s a guide to this, so if there is, definitely let me. know!
Best,
Bryan
Best in terms of assurance it is the right location is to have the user enter the address.
Best in terms of ease of use, would be setup Google Places API and have user provide you their google places ID and then get the address from the API.
There are lots of different ways to get the address, but simplest to ensure accuracy is to let the user tell you the address.
A mix of both :
Use Places API (with filter to university) and ask the user to search for their university. Since the university is most likely already registered on google, user will be able to see it in the searchbox/dropdown. Once user selects the university, you have the address and other details.
2 Likes