Hi everyone,
I was wondering how you can draw lines between points in time (say from a to b, and from b to c and so on) on a Bitmap. The points are coordinates of a gps. The points get drawn as follows:
foreach (Pointtime pt in distance) { PointF p = pt.point; float qx = p.X - center.X; float wx = qx * factor; float ex = wx * scale; float xx = this.Width / 2 + ex; float qy = center.Y - p.Y; float wy = qy * factor; float ey = wy * scale; float yy = this.Height / 2 + ey; c.DrawCircle(xx, yy, 10, red); //draws a point for every 4 meters walked. }
Answers
Hello @InformationScience
perhpas read this article, it's on java but you can transform it
https://www.androidtutorialpoint.com/intermediate/google-maps-draw-path-two-points-using-google-directions-google-map-android-api-v2/