谷歌改变了Android的地图API并引入了API V2.以前的绘图路径代码不适用于API V2.
我已设法绘制API V2的路径.我已经搜索了很多解决方案,但没有找到任何答案.所以我在分享它的答案.
google-maps routes path google-maps-markers google-maps-android-api-2
我想在android中绘制道路方向,如下图所示.我尝试使用折线,但这绘制了两个LatLng之间的直线.我如何实现这一点与谷歌地图相同.提前致谢.
android google-maps
google-maps ×2
android ×1
google-maps-android-api-2 ×1
google-maps-markers ×1
path ×1
routes ×1