react-azure-maps icon indicating copy to clipboard operation
react-azure-maps copied to clipboard

Source not found error when adding layer

Open jithureddy opened this issue 6 months ago • 0 comments

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.

jithureddy avatar Jul 26 '25 02:07 jithureddy