GIShub4 / solid-map-gl

Solid JS Components Library for Mapbox & MapLibre 🌏
https://gis-hub.gitbook.io/solid-map-gl/
MIT License
121 stars 11 forks source link

"There is no source with this ID" thrown when Source is removed quickly #110

Open manipratap2 opened 1 year ago

manipratap2 commented 1 year ago

Rendering a and removing it quickly causes an exception to be thrown.

Also getting below error as well. There is no error if we do not use <Source>.

TypeError: Cannot read properties of undefined (reading 'getLayer')

This issue is only when using Source and Layer.

victoraalvarez commented 8 months ago

Having this issue now as well, were you able to fix this or get around it somehow?