This commit is contained in:
wangcongtao
2020-02-19 16:42:38 +08:00
2 changed files with 2 additions and 5 deletions

View File

@@ -425,6 +425,7 @@ public class AMapNaviViewWrapper implements IMogoMapView,
MyLocationStyle style = mMapView.getMap().getMyLocationStyle();
style.myLocationType(MyLocationStyle.LOCATION_TYPE_LOCATION_ROTATE_NO_CENTER);
style.interval(1000);
style.anchor(0.5F,0.5F);
style.strokeColor(Color.TRANSPARENT);
style.strokeWidth(0);
style.myLocationIcon(
@@ -463,7 +464,7 @@ public class AMapNaviViewWrapper implements IMogoMapView,
public void onNaviStarted() {
if (checkAMapView()) {
mMapView.setCarOverlayVisible(true);
// showMyLocation( false );
showMyLocation( false );
}
}