stuartmatthews / leaflet-geotiff

Leaflet plugin for displaying geoTIFF raster data

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Uncaught Error: No callback specified for asynchronous raster reading. [geotiff.js:1286 ]

s9eenk opened this issue · comments

Hi Mathews,
Facing this issue, when loading the map. Please help me in this regard.
Error:
Uncaught Error: No callback specified for asynchronous raster reading.- [geotiff.js:1286 ]
at GeoTIFFImage.readRasters (geotiff.js:1286)
at e.setBand (leaflet-geotiff.js:101)
at e._parseTIFF (leaflet-geotiff.js:84)
at XMLHttpRequest.request.onload (leaflet-geotiff.js:68)

Hi,

I had the same error, but this was due to me not compiling geotiff.js. but simply using a precompiled one. Did you follow the geotiff.js installation instructions?

Cheers,

Lennert