1
我有代碼來顯示谷歌地圖的當前位置以及解析JSON數據的代碼。我想知道我在哪裏合併下面的代碼來繪製地圖中的json數據。在Android的谷歌地圖繪製JSON數據
JSONArray jsonarray = new JSONArray(response);
for (int i = 0; i < jsonarray.length(); i++) {
JSONObject jsonobject = jsonarray.getJSONObject(i);
String value1 = jsonobject.getString("Key1");
String value2 = jsonobject.getString("Key2");
}
或者是有一些其他的方式來繪製JSON數據到谷歌地圖
請建議我編輯@M D,以便我可以改進我的解決方案。 – atifali