When the map is in trackmode to create a poly-line, there is a last segment which follows the mouse move. This is good.
However, when the mouse leave the map area, this last segment remain displayed at the last mouse coord.
I need to hide this last segment until the mouse comes back to the map.
I also need to remove this last segment is the user click on a button (eg: Apply)
Any option to proceed ?
any other idea ?