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
{{ message }}
This repository was archived by the owner on Jul 18, 2025. It is now read-only.
Issue: The layer manager doesn't provide a way to handle internal errors and callback them to the host application. If an error comes up, it will trigger and that's all. The host app cannot do anything about it.
Proposal: creating an error callback to manage any error triggered by the layer manager. This error callback would be optional.
// error could be an error object (https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error) and we would standardize the way of triggering errors
<LayerManager
// props
onError={(error) => { // do something with error object }}
/>
Issue: The layer manager doesn't provide a way to handle internal errors and callback them to the host application. If an error comes up, it will trigger and that's all. The host app cannot do anything about it.
Proposal: creating an error callback to manage any error triggered by the layer manager. This error callback would be optional.