I am trying to add a geotiff to my webmap created with ArcGIS JS API 4.x. Since it needs to be a service to serve the image, I installed a local instance of GeoServer on my computer and published a WMS for the image in question. However, everytime I try to call the service via URL, the console shows the following errors:
The following piece of code is what I am using:
The API seems to expect a XML and not a geotiff. Any suggestions?
Thanks and have a nice day!