Clamped Polylines broken into smaller ones (mobile Safari ios 17)

After ios 17 update Cesium v1.113: (Sandcastle)

  • clamped to ground polylines, and ground polyline primitives, appear broken into smaller misaligned poly lines

  • Zooming and panning makes Points and Polylines snap and wobble to different positions (not following the map position as before)

Kapture 2024-01-08 at 16.27.56

    const instance = new GeometryInstance({
      geometry: new GroundPolylineGeometry({
        positions: Cartesian3.fromDegreesArray([
         -122.3998184, 37.6491135, -122.3998128, 37.649114, -122.3998074, 37.6491152, -122.3998022, 37.6491168, -122.3997972, 37.6491188, -122.3997826, 37.6491253, -122.3997776, 37.6491273, -122.3997724, 37.649129, -122.3997671, 37.6491303, -122.3997615, 37.6491309, -122.3997559, 37.6491309, -122.3997505, 37.64913, -122.3997453, 37.6491283, -122.3997405, 37.649126, -122.3997364, 37.649123, -122.399733, 37.6491195, -122.3997305, 37.6491155, -122.3997288, 37.6491113, -122.3997282, 37.6491069, -122.3997285, 37.6491025, -122.3997299, 37.6490982, -122.3997321, 37.6490941, -122.3997353, 37.6490905, -122.3997392, 37.6490873, -122.3997437, 37.6490848, -122.3997488, 37.6490829, -122.3997542, 37.6490818, -122.3997598, 37.6490814, -122.3997654, 37.6490817, -122.3997709, 37.6490825, -122.3997763, 37.6490837, -122.3997922, 37.649088, -122.3997975, 37.6490893, -122.399803, 37.6490903, -122.3998085, 37.649091, -122.3998141, 37.6490914, -122.3998197, 37.6490915
        ]),

        width: 4.0,
      }),
      id: "object returned when this instance is picked and to get/set per-instance attributes",
    });
    
    viewer.scene.groundPrimitives.add(
      new GroundPolylinePrimitive({
        geometryInstances: instance,
        appearance: new PolylineMaterialAppearance()
      })
    );