[V2X]道路施工(AI云)事件代码逻辑优化
This commit is contained in:
@@ -106,11 +106,15 @@ public class V2XRoadEventMarker implements IV2XMarker<V2XRoadEventEntity> {
|
||||
Pair<Double, Double> p = polygons.get(i);
|
||||
points.add(new MogoLatLng(p.second, p.first));
|
||||
}
|
||||
if (points.size() > 2) {
|
||||
points.add(points.get(0));
|
||||
}
|
||||
options.points(points);
|
||||
options.useGradient(true);
|
||||
options.useFacade(true);
|
||||
options.setGps(true);
|
||||
options.setGps(false);
|
||||
options.width(5f);
|
||||
options.zIndex(75000f);
|
||||
options.maxIndex(2000000f);
|
||||
polyline = overlayManager.addPolyline(options);
|
||||
polyline.setVisible(true);
|
||||
|
||||
Reference in New Issue
Block a user