如何在android中通过经纬度获取照片位置?
How to get photo location by latitude and longitude in android?
如何在android中通过经纬度获取照片位置?我已经得到纬度和经度,现在我想通过纬度和经度获取我之前得到的照片位置。
Places API 现在支持 return 一张地点照片(如果可用于 Place Search request and up to ten place photos for a Place Details 请求)。
如果您的请求 return 编辑了照片数组,您可以将 photo_reference 从包含的照片对象传递到具有最大高度 and/or 的 Place Photo 请求最大宽度、传感器和关键参数:
这是很棒的教程:Showing nearby places with photos at any location in Google Maps Android API V2
你可以尝试Geocoder
API to get address (If I am not mistaken, by location you mean address) for any latitude and longitude. It's getFromLocation
方法获取地址。
如何在android中通过经纬度获取照片位置?我已经得到纬度和经度,现在我想通过纬度和经度获取我之前得到的照片位置。
Places API 现在支持 return 一张地点照片(如果可用于 Place Search request and up to ten place photos for a Place Details 请求)。
如果您的请求 return 编辑了照片数组,您可以将 photo_reference 从包含的照片对象传递到具有最大高度 and/or 的 Place Photo 请求最大宽度、传感器和关键参数:
这是很棒的教程:Showing nearby places with photos at any location in Google Maps Android API V2
你可以尝试Geocoder
API to get address (If I am not mistaken, by location you mean address) for any latitude and longitude. It's getFromLocation
方法获取地址。