that object already exist in the code, I didnt add it, but it was not documented
see https://github.com/camptocamp/cgxp/blob/e014d019069f9549d5d1089ba8df57db13047e2a/core/src/script/CGXP/plugins/Measure.js#L360