Hello, I use a Map to stock my long/lat. I do this like this
I would like to stock in my map all the value by key (ex: key:1 = ... ; key:2 = ...) Actually it's stock randomly so how can I correct that ?
B4X:
If gmaps.IsInitialized Then
gmaps.Put(Key, Round2(Location1.Latitude,5) & "," & Round2(Location1.Longitude,5))
Log("Pos lat: " & Round2(Location1.Latitude,5) & " Pos long: " & Round2(Location1.Longitude,5))
Key = Key + 1
End If