fix bug of map draw line

This commit is contained in:
zhongchao
2021-06-28 11:03:56 +08:00
parent 9b47282f21
commit bbcfc07a4d

View File

@@ -727,6 +727,7 @@ public class ObjectUtils {
return null;
}
PolylineOptions target = new PolylineOptions();
target.setGps(options.gps());
if ( options.getPoints() != null ) {
List< LonLatPoint > points = new ArrayList<>();
for ( MogoLatLng point : options.getPoints() ) {
@@ -736,7 +737,7 @@ public class ObjectUtils {
}
target.setLineWidth( options.getWidth() );
target.setColor( options.getColor() );
target.setGps(options.gps());
// target.setGps(options.gps()); //todo 地图侧 验证画线问题 需要设置GPS提前至加点之前
// target.zIndex( options.getWidth() );
// target.visible( options.isVisible() );
//// target.geodesic( options.isGeodesic() );