From a0095043cb0df3fc48d49c8e3b530b4ea2ed84e7 Mon Sep 17 00:00:00 2001 From: zhangyuanzhen Date: Wed, 19 Feb 2020 18:39:02 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=9A=E4=BD=8D=E5=9B=BE=E6=A0=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/mogo/map/impl/amap/AMapNaviViewWrapper.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/libraries/map-amap/src/main/java/com/mogo/map/impl/amap/AMapNaviViewWrapper.java b/libraries/map-amap/src/main/java/com/mogo/map/impl/amap/AMapNaviViewWrapper.java index a9e6eaa1ae..6fc7c92606 100644 --- a/libraries/map-amap/src/main/java/com/mogo/map/impl/amap/AMapNaviViewWrapper.java +++ b/libraries/map-amap/src/main/java/com/mogo/map/impl/amap/AMapNaviViewWrapper.java @@ -424,11 +424,11 @@ 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( - // BitmapDescriptorFactory.fromResource(R.drawable.map_api_ic_current_location)); + style.anchor(0.5F,0.5F); + style.strokeColor(Color.TRANSPARENT); + style.strokeWidth(0); + style.myLocationIcon( + BitmapDescriptorFactory.fromResource(R.drawable.map_api_ic_current_location)); mMapView.getMap().setMyLocationStyle(style); } }