Android谷歌地图与多个多边形线与不同的颜色

时间:2017-04-04 04:54:49

标签: android google-maps polyline

我想在谷歌地图中同时显示多条路线,每条路线应该是分开的(例如绿色路线1 ABC和蓝色路线2 DEFG ....可能是路线数量(限制) ))为此,我试图用不同的颜色实现多个折线。我遇到了一些问题......

  1. 路线未分开。
  2. 显示我为最后一条路线提供的颜色。
  3. Image for requirement with 2 poly-line... but there could be n number of poly-line

1 个答案:

答案 0 :(得分:2)

你可以这样做:

Caught exception: Connection error: [CLOSED] IMAP connection broken (server response) Notice: Unknown: [CLOSED] IMAP connection broken (server response) (errflg=2) in Unknown on line 0