Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想从 mapView 的设置像素中获取坐标。
在这段代码中,我得到了坐标,但它是针对下一个区域的:
mapView.getProjection().fromScreenLocation(point);
您应该考虑使用 Google maps api v2 并使用片段而不是简单的 mapview 您需要的信息在这里
https://developers.google.com/maps/documentation/android/reference/com/google/android/gms/maps/LocationSource
我希望它可以帮助你