定位图标
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user