This code does not work. The pointlist has 4 entries, but as they are added to the poly line points, the log shows the size remains as 0.
My code for a polyline:
Course =gmap.AddPolyline
For Each px As LatLng In pointlist
Course.Points.Add(px)
Log(px.Latitude)...