Color variations Polyline property in Google maps API

后端 未结 2 1253
鱼传尺愫
鱼传尺愫 2021-01-17 07:27

I have requirement such that I need to draw a line between Sydney, Melbourne and Adelaide and the line between Sydney and Adelaide should be dark in color a

2条回答
  •  花落未央
    2021-01-17 07:54

    A single polyline has a single set of properties. You can do it with a single google.maps.Polyline for each unique set of properties, so in your example, two polylines.

提交回复
热议问题