stuartmatthews / leaflet-geotiff

Leaflet plugin for displaying geoTIFF raster data
MIT License
174 stars 76 forks source link

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

Open s9eenk opened 6 years ago

s9eenk commented 6 years ago

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)

LennertDeFeyterGHD commented 6 years ago

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