I have a server in NodeJS and have a TIF file on the Server. And I have client application. How can I connect TIF file on server with client. I've tried res.sendFile(filePath) and connected with ImageLayer from @arcgis/core. But it showed Unexpected token I in JSON at position 0. What's the best way to connect data on tif format. Data I'm using is from https://globalwindatlas.info/download/gis-files. I've enabled CORS on server. Thanks in advance.
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.