heatmap.js
heatmap.js copied to clipboard
Remove unneeded code that was causing error
Fixes error: Cannot assign to read only property 'data' of object '[object ImageData]'
Error appears to have appeared now after updating TS library in project. The issue has been identified in original library since 2017, and PR have been created to fix this issue but author hasn't merge them.
@pa7 Is there a chance you could approve this PR?
Is this going to get merged?
This project appears to be abandoned. For anyone else experiencing this issue - switching to 'leaflet.heat' was easy enough. https://www.npmjs.com/package/leaflet.heat