Azure / Azure/react-azure-maps

Source not found error when adding layer

Open
#233 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
58
Forks
43
PR merge metrics
No merged PRs in 30d

Description

Using AzureDataSourceProvider and AzureLayerProvider as mentioned in the azure samples in my react application.
When I go to different page and come back to Maps page or section, many times I am seething
Resource source with id is not found while adding layer.
This error happening in useAzureMapLayer hook, map.layers.add() function.

If I reload the page everything normal.

I tired to add the delay while waiting for source to be available but still the same issue.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.