Android Question OSMDroid Geopoint.Longitude problem

roger.jau

Member
Licensed User
Longtime User
I´m using OSMDroid_4_1 (version: 0.04) and when I try to update a OSMDroid_Marker.GeoPoint.Longitude manually, but the GeoPoint.Longitude still the same and GeoPoint.Latitude get(change unwanted) the same value of Longitude

B4X:
    MarcadorLayer.RemoveItem(MarcadorMov)     'Remove Marker in MarkeyOverlay
    MarcadorMov.GetPoint.Longitude = MarcadorMov.GetPoint.Longitude - 0.000002    'Change Longitude
    MarcadorLayer.AddItem2(MarcadorMov.GetUid,MarcadorMov)    'RePlot Marker at new position

The purpose of this code is acurrate longitude and latitude of points manually.
 
Top