Polygon points not aligning with Cursor after basemap change

After changing base map from “Bing Maps” to Sentinel-2 (Asset Id 3954) there is a problem. As I drop points for a polygon the points do not align with the cursor. Has anyone seen this behavior?


Welcome to the Cesium community.

Can you provide some more information so we can better look into your issue?

  • What client are you using to view the data?
  • If you are using CesiumJS, can you create a Sandcastle example that reproduces the issue?

Thank you your the quick response. I figured out the problem. The camera position was rendering differently than on the default viewer. I changed the HeightReference to CLAMP_TO_GROUND versus POSITIVE_INFINITY. Works for testing

Now problem though. I am proving concept on a local host where everything works fine. Then I also have a test server in an AWS EC2. While the code base is identical I am getting the error in the EC2 when toggling Orbital Tracks:

An error occurred while rendering. Rendering has stopped.

RangeError: Invalid array length

updateFrustums@https://cesium.com/downloads/cesiumjs/releases/1.82/Build/Cesium/Cesium.js:1:3057914 @https://cesium.com/downloads/cesiumjs/releases/1.82/Build/Cesium/Cesium.js:1:3060819 executeCommandsInViewport@https://cesium.com/downloads/cesiumjs/releases/1.82/Build/Cesium/Cesium.js:1:3244481 @https://cesium.com/downloads/cesiumjs/releases/1.82/Build/Cesium/Cesium.js:1:3241779 render@https://cesium.com/downloads/cesiumjs/releases/1.82/Build/Cesium/Cesium.js:1:3254318 tryAndCatchError@https://cesium.com/downloads/cesiumjs/releases/1.82/Build/Cesium/Cesium.js:1:3254532 @https://cesium.com/downloads/cesiumjs/releases/1.82/Build/Cesium/Cesium.js:1:3256405 @https://cesium.com/downloads/cesiumjs/releases/1.82/Build/Cesium/Cesium.js:1:3510788 e@https://cesium.com/downloads/cesiumjs/releases/1.82/Build/Cesium/Cesium.js:1:3496667

Unfortunately is very difficult for someone else to debug the problem without access to your code. The best way to get help is to recreate the issue in Sandcastle so that everyone can see and run the same code that is causing the problem.

  • Are you able to reproduce this issue in Sandcastle?

I’m also going to move this to the CesiumJS category since this both of these issues are more related to using the CesiumJS viewer than the ion hosting services.