我想绘制道路的路径,并遵循一些特定points.I我使用谷歌API路线跟随roads.I把道路上的一些标记和polylines.I连接这些点,需要遵循红线,但它遵循并绘制蓝色lines.How我可以保证这一点?
I am trying to draw a path on roads and follow some given points.I am using Google Directions API to follow the roads.I put some markers on roads and link these points with polylines.I need to follow the red line but it follows and draws blue lines.How can I ensure this?
验证它是否是在路上都在放大。另外,还要确保ü可以在road.Sometimes道路这个方向行事是单向的,所以谷歌会自动从粉笔另一条路径。希望这有助于。
Verify if it is a road at all by zooming in. Also Make sure that u can tread in that direction in the road.Sometimes roads are one way, So google automatically chalks out an alternative path. Hope this helps.
上一篇:机器人AlertDialog移动PositiveButton到左侧的右和NegativeButton机器人、AlertDialog、NegativeButton、PositiveButton
下一篇:如何结合OnClickListener和OnTouchListener一个的ImageButtonOnClickListener、OnTouchListener、ImageButton