[V2X]道路施工(AI云)事件代码逻辑优化

This commit is contained in:
renwj
2022-08-29 18:10:32 +08:00
parent 08c752c849
commit 65e3170ce0

View File

@@ -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);