Entities not showing on iOS Safari

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

I’m placing some billboards on the map, and drawing some routes with polyline.

Everything work fine on Chrome (desktop / mobile), but on iOS (10) with Safari most of the times them don’t show.

Sometimes if I clear the Safari cache and I open again the web page them show again, but very few times.

I don’t have any error in console.

I’ve tried with .svg and .png files, but with no succes.

I’ve printed in console many informations (positions, etc) to check if something could be wrong, but everything is right.

The only problem is that the entities don’t show

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

drawTrack() {

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





drawPlaceholder() {

this.placeholder = viewer.entities.add({

position: this.boundingSphere.center,

billboard: {

image: getIconFromLocomotion(this.locomotion),

width: 48,

height: 63,

verticalOrigin: Cesium.VerticalOrigin.BOTTOM,

heightReference: Cesium.HeightReference.RELATIVE_TO_GROUND,




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.


Safari iOS 10

Is it both the billboard and the polyline that aren’t shown? Have you run into this issue with any other geometry types?

Were you able to reproduce this issue on Sandcastle (http://sandcastle.cesium.com/index.html) ? If so, can you share a link to that so we can use that to test and debug?

1 - Yes, both the billboard and the polyline that aren’t shown.
2 - I didn’t test with other eometry types.

3 - I can share the simple project in attachment “testCesiumEntity.rar”. It simply draw a placeholder. I work everywhere except on Safari iOS 10.

You can test it also here:


What is interesting is that the first time I’ve opened the index.html in attachment on iOS, I got the error message “variable Cesium is not defined”.

After a couple of reload it finally show the globe (but not the placeholder)

testCesiumEntity.rar (2.85 KB)

Any news?

My guess is it’s a bug, but we’ll need a Sandcastle example to open a bug report on GitHub. I haven’t had a chance to translate your example to Sandcastle yet.

Thank-you Omar,

I translated the example on Sandcastle right now, but it’s the 1st time I make something on Sandcastle, I’m not sure how to make it public.

I’ve pressed “SHARE” tab, and this is the link I’ve got