小弟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座标?
感谢回答