地址工具类优化
This commit is contained in:
parent
90e4303b46
commit
82c379c557
@ -71,7 +71,7 @@ public class GeoCodingUtil {
|
||||
* @param location 经纬度
|
||||
* @return 地址
|
||||
*/
|
||||
public String getLocationToAddress(JsonNode location) {
|
||||
public String getLocationToAddress(JsonNode location) {
|
||||
//String locationStr = String.format("%f,%f", location.getDouble(LATITUDE_KEY), location.getDouble(LONGITUDE_KEY));
|
||||
String locationStr = String.format("%f,%f", location.get(LONGITUDE_KEY).asDouble(), location.get(LATITUDE_KEY).asDouble());
|
||||
Request request = new Request.Builder()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user