I am using the print widget and get the error "this.color.toRgba () is not a Function" when i try to print graphics created in my map from the Direction Distance widget?
Is this within a function you are calling? If so, you'll probably need to use lang.hitch when calling the function, like this:
settings.forEach(lang.hitch(this, function (setting) {
It is what the widgets are calling "out of the box". I have not added any custom code.
In the console, where is this error occurring?
And when you click on the link on the first line (Widget.js?wab_dv=2.8:153), is that the Print widget or another one?
That is the print widget, and the error that comes from clicking the print button. As I mentioned, this only happens after I have created a graphic from the Direction Distance widget.
I get the same error when using the Distance and Directions widget with the Print widget. This is something you should report to Support.
Will do. thank you for your help.