I’m making an app like Grindr which will return a repeating list sorted by people nearest to me. BUT, I’m getting the list from the address they have in the db. This includes (different fields) state, city, address1, address 2, zip-code.
How do I do this? Is there a plugin that i can use? Any guide I can check on how to do this?
Geographic address is an address…if you tie it to the google geolocation service through the search input, your user can enter their address. from this, you can extract component parts, like street, county, country, state.
I’m not sure if you can create a geographic address from individual parts, like street, town, postcode etc. but you could try.
Is it just one field? How is it done? Do you have a sample I can check? Say I need them to enter their home address, would it work if they are somewhere else? Sorry for the newb questions…
I adopted what you did to my account creation page but I’m having the following problems. The country and address (street) in the DB is empty. Granted, addresses in Japan are entered weird
Ex: 1-2-16 Katano
If you type that, it will auto complete but then I click on create the account, as you can see from the DB, the country field and street are empty.
Have you tried putting each possible :extract field onto a test page and see what comes out for the addresses you are trying to work with? A bit like my demo page,
I don’t know in the ins-and-outs of how Google manipulate the fields for the location api.