Get location name from Latitude & Longitude in iOS

前端 未结 12 1041
遥遥无期
遥遥无期 2020-11-28 07:30

I want to find current location name from latitude and longitude,

Here is my code snippet I tried but my log shows null value in all the places except in place

12条回答
  •  日久生厌
    2020-11-28 07:49

    Use google api for reverse geotagging :

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

    From : https://developers.google.com/maps/documentation/geocoding/

提交回复
热议问题