see this, very odd:
I am adding in loop:
MyPoint.Initialize(Lat1,Lng1)
WayPoints.Add(MyPoint)
this is from the log, each time I add another entry to list, all previous are changing as the last one
<B4IList: (
"Lat: 32.065900, Lon: 34.829300"
)>
<B4IList: (
"Lat: 32.065870, Lon: 34.829910",
"Lat: 32.065870, Lon: 34.829910"
)>
<B4IList: (
"Lat: 32.066230, Lon: 34.829930",
"Lat: 32.066230, Lon: 34.829930",
"Lat: 32.066230, Lon: 34.829930"
)>
<B4IList: (
"Lat: 32.066340, Lon: 34.829950",
"Lat: 32.066340, Lon: 34.829950",
"Lat: 32.066340, Lon: 34.829950",
"Lat: 32.066340, Lon: 34.829950"
)>
I am adding in loop:
MyPoint.Initialize(Lat1,Lng1)
WayPoints.Add(MyPoint)
this is from the log, each time I add another entry to list, all previous are changing as the last one
<B4IList: (
"Lat: 32.065900, Lon: 34.829300"
)>
<B4IList: (
"Lat: 32.065870, Lon: 34.829910",
"Lat: 32.065870, Lon: 34.829910"
)>
<B4IList: (
"Lat: 32.066230, Lon: 34.829930",
"Lat: 32.066230, Lon: 34.829930",
"Lat: 32.066230, Lon: 34.829930"
)>
<B4IList: (
"Lat: 32.066340, Lon: 34.829950",
"Lat: 32.066340, Lon: 34.829950",
"Lat: 32.066340, Lon: 34.829950",
"Lat: 32.066340, Lon: 34.829950"
)>