mapcomponents / react-map-components-maplibre

A react component framework for declarative GIS application development.
MIT License
116 stars 18 forks source link

Geojson layer now causing infinite loop #136

Closed openSourcerer9000 closed 8 months ago

openSourcerer9000 commented 11 months ago

I see you guys have been busy adding components, so I wanted to get the latest version and try them out.

This is the only thing I changed in my project: image

And now it gets caught in an infinite loop, caused by geojson layer somewhere image

cioddi commented 11 months ago

Can you post the current configuration of you MlGeoJsonLayer? I have experienced the infinite loop in the past when the paint or layout props did not match the layer type. I have been thinking about adding automatic checks which would slow down the initialization of MlGeoJsonLayers but increase the tolerance for faulty configuration.

cioddi commented 8 months ago

I will close this for now. Please provide an example, so we can reopen it and solve the issue.