[Fix]解决全览地图自车不显示的问题

This commit is contained in:
chenfufeng
2022-12-30 11:06:46 +08:00
parent 4be31b5199
commit 4d2727fa36

View File

@@ -321,7 +321,7 @@ public class AMapCustomView
public void onLocationChanged(@org.jetbrains.annotations.Nullable MogoLocation location, int from, boolean isGps) {
mLocation = location;
MarkerDrawerManager.INSTANCE.setLonLat(new Pair(location.getLongitude(), location.getLatitude()));
// drawCarMarker(location);
drawCarMarker(location);
if (isFirstLocation) {
displayCustomOverView();
isFirstLocation = false;