public static String getLnglat(String address, String AMAPkey) { //"http://restapi.amap.com/v3/geocode/geo?address=上海市东方明珠&output=JSON&key=xxxxxxxxx"; String geturl = "http://api.map.baidu.com/geocoding/v3/?address=" + address + "&output=json&ak=" + AMAPkey; S…