Hello
I use:
I can store this list with
kvs.PutObject("example", listpoints)
and when i get the log of list poins i can see the latlng values:
but later when i try to get the values with keystorevalue
i see that all the values of list are null so i cant add as polyline to my googlemap objects. Eurojam tried to help and said that it is because of the latlng type , when he stored the values as double he could list them. But to add to googlemap i still need them as latlng. How can i fix this ?
I use:
B4X:
dim points as list
points.initialize
direction = gmap.AddPolyline
llPoint.Initialize(location1.Latitude, location1.Longitude)
points.Add(llPoint)
I can store this list with
kvs.PutObject("example", listpoints)
and when i get the log of list poins i can see the latlng values:
B4X:
(ArrayList) [lat/lng: (40.96685325,29.07294338), lat/lng: (40.96684747,29.07295137), lat/lng: (40.96683695,29.07292347), lat/lng: (40.96671902,29.07326131), lat/lng: (40.96671928,29.07324356), lat/lng: (40.9666991,29.07328743), lat/lng: (40.96676502,29.07314883), lat/lng: (40.96678631,29.07313557), lat/lng: (40.96670767,29.07326611), lat/lng: (40.96672245,29.07324716), lat/lng: (40.96671392,29.0732735)]
but later when i try to get the values with keystorevalue
B4X:
dim listgetir as list
listgetir.Initialize
listgetir=kvs.GetObject("example")
i see that all the values of list are null so i cant add as polyline to my googlemap objects. Eurojam tried to help and said that it is because of the latlng type , when he stored the values as double he could list them. But to add to googlemap i still need them as latlng. How can i fix this ?