ios - finding user current location using Google Maps API (Google Places) -


i want know user's current location using google. know how user's altitude , longitude using mapkit don't know how translate location or address (street name, city, country). did few search , found using nsurl access given link accesses google places. however, 1 available list places nearby user. how can know user's current location? note: i'm not using apple's map since country isn't included , google more supporting it.

you can use reverse geocoding services.

here docs:

https://developers.google.com/maps/documentation/geocoding/?hl=en#reversegeocoding

example request (json):

http://maps.googleapis.com/maps/api/geocode/json?latlng=40.714224,-73.961452&sensor=false 

get json data on ios:

not getting json response in google query of longitude , latitude in ios?

for parsing json object in ios, answer usefull you:

how parse specific googlemaps api webservices json repsonse


Comments

Popular posts from this blog

html5 - What is breaking my page when printing? -

c# - must be a non-abstract type with a public parameterless constructor in redis -

ajax - PHP/JSON Login script (Twitter style) not setting sessions -