Greetings Jeremie Cornet! Some ideas for eDraw.
1) display measurements for each line segment. Also, allow measurements to display on an angle. Basically these both mirror Tom's Measure widget. And let us elect whether to make angled measurement text the default.
2) let developers to set the default symbology - i.e. to make all lines purple and text red, so it stands out better and users don't have to use the color picker themselves (as some people will not venture outside the defaults and a color other than black will show better by default). For Tom's Measure, I was able to easily override the variable. https://public.sagis.org/sagisorg2019/ (though it isn't reflected in the picker, but I settled for this as good enough, it changes if users change it after that)
I looked at your widget.js. I was thinking this was a good place to change it... but... it ends up permanently changing it. I can't change it from the graphical interface color picker after this change. What is a place you would recommend to intercept and set the default color outright, for example for lines, to be purple?
///////////
editorSetDefaultSymbols: function() {
var symbol = this.editorSymbolChooser.getSymbol();
switch (symbol.type.toLowerCase()) {
case "simplemarkersymbol":
this.drawBox.setPointSymbol(symbol);
break;
case "picturemarkersymbol":
this.drawBox.setPointSymbol(symbol);
break;
case "textsymbol":
this.drawBox.setTextSymbol(symbol);
break;
case "simplelinesymbol":
symbol.color.b = "165"; // kevin m
symbol.color.r = "175"; // kevin m
symbol.color.g = "89"; // kevin m
this.drawBox.setLineSymbol(symbol);
break;
case "cartographiclinesymbol":
this.drawBox.setLineSymbol(symbol);
break;
///////