Select to view content in your preferred language

How can I Use TIF file in ArcGIS JS?

294
0
07-14-2022 03:09 AM
real_zain16
New Contributor

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.

0 Kudos
0 Replies