qgis/qwc2-demo-app

Issue on QWC2-demo app - Error while changing tool in Measure Component

Closed this issue · 4 comments

image

The issue is located in the Measure Component. After selecting "lenght", and drawing a segment on the map, an error is raised if you close the menu or of you select an other option such as "Area", "Bearing" or "Position". As you can see it on the picture the errors are

Error: <line> attribute x1: Expected length, "NaN".
Error: <line> attribute x2: Expected length, "NaN".
chartist.js:2076 Error: <path> attribute d: Expected number, "MNaN,62.1LNaN,57.…".
chartist.js:2076 Error: <path> attribute d: Expected number, "MNaN,62.1LNaN,57.…"

Thank you for your attention to this matter.
Vincent

Is you QWC2 recent? Can you reproduce it on qwc2.sourcepole.ch?

The error is on qwc2.sourcepole.ch as well

image

Thanks, fixed by qgis/qwc2@aba1811

Thank you 😊