diff --git a/libraries/mogo-map/src/main/java/com/mogo/map/AMapViewWrapper.java b/libraries/mogo-map/src/main/java/com/mogo/map/AMapViewWrapper.java index e4544edd9e..3856fd30f8 100644 --- a/libraries/mogo-map/src/main/java/com/mogo/map/AMapViewWrapper.java +++ b/libraries/mogo-map/src/main/java/com/mogo/map/AMapViewWrapper.java @@ -483,14 +483,9 @@ public class AMapViewWrapper implements IMogoMapView, public void initMyLocation() { if (checkAMapView()) { + MarkerHelper.addPreModel(R.raw.guangquan) +// MarkerHelper.addPreModel(R.raw.guangquan_day) mMapView.getMapAutoViewHelper().setMyLocationEnabled(true); - MyLocationStyle style = mMapView.getMapAutoViewHelper().getMyLocationStyle(); - style.interval(1000); - // style.anchor( 0.5F, 0.5F ); - // style.strokeColor( Color.TRANSPARENT ); - // style.strokeWidth( 0 ); - // style.radiusFillColor( Color.TRANSPARENT ); - mMapView.getMapAutoViewHelper().setMyLocationStyle(style); } }