识别物与碰撞点之间的引导箭头角度调整(未生效)
This commit is contained in:
@@ -125,12 +125,16 @@ public class V2XWarnDataDrawer extends BaseDrawer implements IMogoStatusChangedL
|
||||
return marker;
|
||||
}
|
||||
|
||||
public void drawerArrowsMarkerWithLocation(MogoLatLng location, String markerType, int type, int period) {
|
||||
public void drawerArrowsMarkerWithLocation(MogoLatLng location, String markerType, int type, int rotate) {
|
||||
MogoMarkerOptions options = new MogoMarkerOptions()
|
||||
.latitude(location.getLat())
|
||||
.longitude(location.getLon());
|
||||
options.icon3DRes(getModelRes(type)); //TODO
|
||||
options.anchorColor("#FB3C3CFF"); //红色#FF3036 蓝色:#256BFF
|
||||
.longitude(location.getLon())
|
||||
.set3DMode(true)
|
||||
.controlAngle(true)
|
||||
.rotate(rotate);
|
||||
options.icon3DRes(getModelRes(type));
|
||||
options.flat(true);
|
||||
options.anchorColor("#FB3C3CFF");
|
||||
IMogoMarker marker = MogoApisHandler.getInstance().getApis().getMapServiceApi().getMarkerManager(mContext).addMarker(markerType, options);
|
||||
marker.setToTop();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user