小弟load 了map.html進 webview
我點擊地圖後標記記號, 這部分沒問題
但是我想要這個標記點的座標傳回來給裝置作處理
v2 似乎可以作以下操作
Get Projection of the map:
Projection projection = map.getProjection();
Get location of your marker:
LatLng markerLocation = marker.getPosition();
Pass location to the Projection.toScreenLocation() method:
Point screenPosition = projection.toScreenLocation(markerLocation);
That's all. Now screenPosition will contain the position of the marker
relative to the top-left corner of the whole Map container :)
但是v3版的 webViewb容器似乎沒有getProjection().....
我該怎麼做?
1.是否可以從map.html傳值給webView ?
2.webView 是否也可以抓取到google map的map座標?
感謝回答