Thanks for the reply here is what I think is the relevant code:-
If follow = True Then
'Dim gp As OSMDroid_GeoPoint
'gp.Initialize(cell(1),cell(2))
gp.Latitude = cell(1)
Log(cell(1) & " " & gp)
gp.Longitude = cell(2)
Log(cell(2) & " " & gp)
MapView1.GetController.SetCenter(gp )
track.AddPoint (gp)
lblTest5 .Text = track.GetNumberOfPoints
MapView1.GetOverlays.Add (track )
End If
I originally used the 2 commented lines without the next 4 and it worked ok but after 100 + points the display became very unresponsive
so I moved the Dim gp to globals and gp.initialze to Activity_Create(FirstTime As Boolean) hopng it would help...but cannot get the gp.lat & gp.lon to
work. Here is the Log:-
50.8996 (GeoPoint) 50899600,-4960900,0
-4.9609 (GeoPoint) -4960900,-4960900,0
cell(1) contained 50.8996
cell(2) contained -4.9609
as far as I can see only the latitude changes.
Hope this is enough info .
Dave.