AnsweredAssumed Answered

2D-Measurement Error with 4.12

Question asked by efkopru on Jul 9, 2019
Latest reply on Jul 15, 2019 by efkopru

Hello,

 

I have an app that uses both distance and area measurement widgets. There is no problem with 4.10 and 4.11 APIs but with the new version, 4.12, I get errors when I click on the widgets. I am not sure if the problem is because of the materialize.css and If you guys have any ideas, I would be appreciated.

 

The errors are below.

 

Uncaught (in promise) TypeError: Cannot read property 'center' of null
at Object.a._updatePolylines (DistanceMeasurement2DTool.js:15)
at Object.<anonymous> (DistanceMeasurement2DTool.js:6)
at f (dojo.js:386)
at a.p [as callback] (dojo.js:387)
at n (dojo.js:394)
at dojo.js:399

 

AreaMeasurement2DTool.js:10 Uncaught (in promise) TypeError: Cannot read property 'coord' of undefined
at AreaMeasurement2DTool.js:10
at Array.map (<anonymous>)
at Function.c.updateViewModelAndCreateGraphics (AreaMeasurement2DTool.js:10)
at Object.c._updateGraphics (AreaMeasurement2DTool.js:17)
at Object.<anonymous> (AreaMeasurement2DTool.js:6)
at f (dojo.js:386)
at a.p [as callback] (dojo.js:387)
at n (dojo.js:394)
at dojo.js:399

Outcomes