Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add measure after graphic edit, even if checkbox unchecked #13

Open
romain974 opened this issue Aug 13, 2020 · 1 comment
Open

Add measure after graphic edit, even if checkbox unchecked #13

romain974 opened this issue Aug 13, 2020 · 1 comment

Comments

@romain974
Copy link

When updating a graphic, a clic on "save" button automatically create measurements, even if checkbox unchecked.

To fix this issues, update line 1241 of Widget.js (v2.11.1):
//this.addMeasure(geom, this._editorConfig["graphicCurrent"]);
if(this.showMeasure.checked){ //hack
this.addMeasure(geom, this._editorConfig["graphicCurrent"]);
} //fin hack

@jhGutiAste
Copy link

thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants