我有一个可变字符串lng和一个varibale字符串lat。
我想在这2个变量中存储纬度和经度。
我的代码:
String latitude = jresponse.getString("lat");
String longitude jresponse.getString("lng");
LatLng location = new LatLng(latitude, longitude); **doesn't work**
mMap.addMarker(new MarkerOptions().position(location).title("Last Position"));
FFIVE
倚天杖
相关分类