fix: OSMDroidMapsProvider Marker getPosition

This commit is contained in:
xtaodada 2024-01-10 17:14:56 +08:00
parent 15ddfddb0f
commit 02efbc3b8c
Signed by: xtaodada
GPG Key ID: 4CBB3F4FA8C85659

View File

@ -513,7 +513,7 @@ public class OSMDroidMapsProvider implements IMapsProvider {
@Override @Override
public LatLng getPosition() { public LatLng getPosition() {
GeoPoint pos = this.marker.getPosition(); GeoPoint pos = this.marker.getPosition();
return new LatLng(pos.getLatitude(), pos.getLatitude()); return new LatLng(pos.getLatitude(), pos.getLongitude());
} }
@Override @Override