Technical help needed: CORS-headers are not set for OSM Breton, Occitane and Basque style

Hi,

As the Breton, Occitane and Basque map styles are included in the ELI, they are included in MapComplete as well.

However, selecting them causes a blank basemap. The CORS-headers are missing in the server, and third party websites are thus not able to use them.

Can the CORS-header be updated? If not, then it can maybe be removed from the ELI.

BTW, if a vector tile set is available, that might is even better.

Kind regards,
Pieter

Hello,

I’m one of the maintainer of the tile service for minoritized langages.
We look into that CORS problem.

1 Like

What is « ELI » ?

Thanks for looking into it!

If you want those layers to be usable by every third-party website, you’ll have to add the header Access-Control-Allow-Origin: * to the HTTP-response. See Cross-Origin Resource Sharing (CORS) - HTTP | MDN for all info.

Hi,

Can you check if it is working correctly now?

I should have enabled CORS for all URLs from this server.

Thanks,
Jocelyn

1 Like

Hey Jocelyn,

It indeed works now! Thanks for fixing this.

Kind regards,
Pietervdvn