You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
apneadiving edited this page Sep 15, 2011
·
6 revisions
Data to provide
Valid json should be like:
[
//first element of the array, describing the first polyline
[
//first element of the polyline can optionally contain customization
{"lng": -80.190262, "lat": 25.774252, "strokeColor": "#000"},
//other hashes simply contain longitude and lat
{"lng": -66.118292, "lat": 18.466465},
{"lng": -64.75737, "lat": 32.321384}
],
//second polyline
[
//no customization in the first hash => all defaults will be applied to display this polyline
{"lng": 0, "lat": 0},
{"lng": 10, "lat": 10},
{"lng": -10, "lat": -10}
]
]