This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

Map image is not getting loaded in the react map component

0

Map image is failing to load in the react application when requests are made to the URLs https://b.tile.openstreetmap.de/2/0/1.png https://c.tile.openstreetmap.de/2/1/1.png https://a.tile.openstreetmap.de/2/2/1.png https://b.tile.openstreetmap.de/2/3/1.png And response message says Failed to load response data: No data found for resource with given identifier

asked 20 Mar '23, 07:52

Sheetal%20Karnawadi's gravatar image

Sheetal Karn...
11112
accept rate: 0%

I have the same problem from 3 day almost. Italy here. Thanks Who can help me. Silvano

(20 Mar '23, 12:49) SILVANO

One Answer:

1

Failed to load response data: No data found for resource with given identifier

Do you get an actual error number back (404, 418, something else) or does it just time out? If it just times out my guess is that it's a proxy issue - your web browser (where you can presumably access https://c.tile.openstreetmap.de/2/1/1.png etc.) has a proxy configured, but wherever you are running your application (in terms of both hardware and software) is not seeing that.

It's tangential to your issue, but you are encouraged to remove "c" etc. now and just use e.g. https://tile.openstreetmap.de/2/1/1.png now.

answered 20 Mar '23, 13:50

SomeoneElse's gravatar image

SomeoneElse ♦
36.9k71370866
accept rate: 16%

Source code available on GitHub .