I have an web application created using Esri Javascript API 4.7. There I am using a Print widget, and I am point to the view of the map. But, the result look completely different from what I see on the screen.
The code is as follows:
new Print({
view: app.mapView,
templateOptions: {
legendEnabled: true,
scaleEnabled: true
}
})
What I see on the view:

What I see in the result of the print:

I am not sure which other properties I can set when I instanciate the Print widget. Neither the colors on the map, nor the legend or the scale bar looks anything like what I see on the view. What am I missing?
Any help is greatly appreciated.
Regards
Carsten