We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Some raster data (here WMTS) are getting their requests blocked by CORS policy. The same data can be displayed in openlayer without problems.
var wmtsSource = new itowns.WMTSSource({ url: 'https://geo.pnrsud.fr/geoserver/gwc/service/wmts', crs: 'EPSG:3857', name: 'dynmap:scan25_1_paca_2022', tileMatrixSet: 'EPSG 3857', version: '1.0.0', style: 'raster', format: 'image/jpeg', isInverted: false, tileMatrixCallback: (zoomLevel) => 'EPSG 3857:' + zoomLevel });
The text was updated successfully, but these errors were encountered:
After analysis it turns out the cors error is legitimate since the server has no cors configuration for images (see https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_enabled_image#web_server_configuration for an example of server configuration to allow cors on images)
Sorry, something went wrong.
jailln
No branches or pull requests
Context
Some raster data (here WMTS) are getting their requests blocked by CORS policy. The same data can be displayed in openlayer without problems.
Steps to Reproduce
The text was updated successfully, but these errors were encountered: