From 02efbc3b8ce6349216244e03c899461f86566b9f Mon Sep 17 00:00:00 2001 From: xtaodada Date: Wed, 10 Jan 2024 17:14:56 +0800 Subject: [PATCH] fix: OSMDroidMapsProvider Marker getPosition --- .../main/java/org/telegram/messenger/OSMDroidMapsProvider.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TMessagesProj/src/main/java/org/telegram/messenger/OSMDroidMapsProvider.java b/TMessagesProj/src/main/java/org/telegram/messenger/OSMDroidMapsProvider.java index 6233d8521..3d0577824 100644 --- a/TMessagesProj/src/main/java/org/telegram/messenger/OSMDroidMapsProvider.java +++ b/TMessagesProj/src/main/java/org/telegram/messenger/OSMDroidMapsProvider.java @@ -513,7 +513,7 @@ public class OSMDroidMapsProvider implements IMapsProvider { @Override public LatLng getPosition() { GeoPoint pos = this.marker.getPosition(); - return new LatLng(pos.getLatitude(), pos.getLatitude()); + return new LatLng(pos.getLatitude(), pos.getLongitude()); } @Override