polyline.distanceDisplayCondition not working on Chrome mobile

1. A concise explanation of the problem you’re experiencing.

Setting “polyline.distanceDisplayCondition” to any value cause the polyline not show up on Chrome mobile

2. A minimal code example. If you’ve found a bug, this helps us reproduce and repair it.

this.visibleTrack = viewer.entities.add({

polyline: {

positions: this.cartesianPositions,

clampToGround: false,

width: 5,

show: false,

material: new Cesium.PolylineOutlineMaterialProperty({

color: Cesium.Color.ORANGE,

outlineWidth: 2,

outlineColor: Cesium.Color.BLACK


distanceDisplayCondition: new Cesium.DistanceDisplayCondition(10.0, 50000),



3. Context. Why do you need to do this? We might know a better way to accomplish your goal.

4. The Cesium version you’re using, your operating system and browser.


Android 8