I have configured a Tile server and i followed the Link for OSM Tile server from switch2osm

everything is fine, except when i tried to get the tiles using Openlayers its not serving.

But if i give the same url like

i can see the tiles

but map which is loaded from the Openlayes is not showing the tiles

when i check from the developer console of the chrome the response is HTTP code 200.

Anything i need to check?

1 Answer 1


Problem is CORS which is not allowing the tiles to load from

I configured the proxy and now its working fine.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.