You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Type issue IconLayer doesn't allow HTMLCanvasElement as iconAtlas:
Types of property 'iconAtlas' are incompatible.
Type 'HTMLCanvasElement' is not assignable to type 'string | Texture | undefined'.
Type 'HTMLCanvasElement' is missing the following properties from type 'Texture': dimension, format,
After further investigation I figured out that is because of change in @luma/core.
It still works... just typescript cries.
Flavors
Script tag
React
Python/Jupyter notebook
MapboxOverlay
GoogleMapsOverlay
CARTO
ArcGIS
Expected Behavior
HTMLCanvasElement allowed.
Steps to Reproduce
Install latest DeckGL and use HTMLCanvasElement (as documentation says) as iconAtlas.