Altering ellipse axes after creation doesn't visually change ellipse

I’m creating an outline ellipse and then later trying to update the semi-major/minor axes when new range info is available.


cesiumMarker = cesiumViewer.entities.add({

  position: Cesium.Cartesian3.fromDegrees(longitudeDegrees, latitudeDegrees, altitudeMeters),

  name: "Marker",

  ellipse : {

    height: altitudeMeters,

    semiMinorAxis : 10.0,

    semiMajorAxis : 10.0,

    fill: false,

    outline: true,

    outlineColor: Cesium.Color.BLUE.withAlpha(0.25),

    outlineWidth: 2.0,

  }    });

Modification later:

cesiumMarker.ellipse.semiMajorAxis = 100.0;

This doesn’t seem to resize the ellipse. Is there a trick to what I’m trying to do?

Hi -

I made a little Sandcastle example using the semiMajorAxis property as you suggested and it appears to work. Maybe the modification isn’t being reached for some reason? The code you shared above seems correct to me otherwise.