Skip to content

Measurement in Cesium map issue #10918

@ElenaGallo

Description

@ElenaGallo

Description

It is not possible to measure on 3D map. Error on console:

Uncaught TypeError: Cannot read properties of null (reading 'removeAll')
at T._updateDynamicCoordinates (cesiumDrawGeometrySupport.7c28dffed39bdf8a.chunk.js:1:8137)
at T._drawPrimitives (cesiumDrawGeometrySupport.7c28dffed39bdf8a.chunk.js:1:7905)
at T._handleMouseMove (cesiumDrawGeometrySupport.7c28dffed39bdf8a.chunk.js:1:4873)
at cesiumDrawGeometrySupport.7c28dffed39bdf8a.chunk.js:1:2754
at v (mapstore2.js?7c28dffed39bdf8a:2:2771744)
at E (mapstore2.js?7c28dffed39bdf8a:2:2772167)
at x (6714.7c28dffed39bdf8a.chunk.js:2:323577)
at W (6714.7c28dffed39bdf8a.chunk.js:2:327981)
at HTMLCanvasElement.o (6714.7c28dffed39bdf8a.chunk.js:2:321898)

How to reproduce

  • Open a 3D map
  • Click on Measure tool
  • Draw a measurement on map

Cause

This issue seems to be a regression caused by a code change made as part of this PR for the issue #10829. A dedicated PR with fix will be made for this issue

  • Not browser related
Browser info (use this site: https://www.whatsmybrowser.org/ for non expert users)
Browser Affected Version
Internet Explorer
Edge
Chrome
Firefox
Safari

Other useful information

Metadata

Metadata

Labels

3DAll issues related to the 3D rendering in CesiumJsAcceptedbug

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions