Closed MDzyga closed 4 years ago
Hi, How can I set CORS for used layer map? Currently I get an error:
Cross-Origin Read Blocking (CORB) blocked cross-origin response http://sealltm.westeurope.cloudapp.azure.com:8080/data/NigeriaGreyBasemap/ with MIME type text/html. See https://www.chromestatus.com/feature/5629709824032768 for more details. Image (async) | | -- | -- | -- | createTile | @ | leaflet-src.js:11723 | _addTile | @ | leaflet-src.js:11458 | _update | @ | leaflet-src.js:11355 | _setView | @ | leaflet-src.js:11216 | _resetView | @ | leaflet-src.js:11174 | fire | @ | leaflet-src.js:593 | _move | @ | leaflet-src.js:4253 | _onZoomTransitionEnd | @ | leaflet-src.js:4720 | invokeTask | @ | zone-evergreen.js:399 | runTask | @ | zone-evergreen.js:167 | invokeTask | @ | zone-evergreen.js:480 | ZoneTask.invoke | @ | zone-evergreen.js:469 | timer | @ | zone-evergreen.js:2552 | setTimeout (async) | | | scheduleTask | @ | zone-evergreen.js:2573 | scheduleTask | @ | zone-evergreen.js:385 | scheduleTask | @ | zone-evergreen.js:210 | scheduleMacroTask | @ | zone-evergreen.js:233 | scheduleMacroTaskWithCurrentZone | @ | zone-evergreen.js:1134 | (anonymous) | @ | zone-evergreen.js:2586 | proto.<computed> | @ | zone-evergreen.js:1449 | _animateZoom | @ | leaflet-src.js:4708 | (anonymous) | @ | leaflet-src.js:4679 | invokeTask | @ | zone-evergreen.js:399 | runTask | @ | zone-evergreen.js:167 | invokeTask | @ | zone-evergreen.js:480 | ZoneTask.invoke | @ | zone-evergreen.js:469 | timer | @ | zone-evergreen.js:2552 | requestAnimationFrame (async) | | | scheduleTask | @ | zone-evergreen.js:2573 | scheduleTask | @ | zone-evergreen.js:385 | scheduleTask | @ | zone-evergreen.js:210 | scheduleMacroTask | @ | zone-evergreen.js:233 | scheduleMacroTaskWithCurrentZone | @ | zone-evergreen.js:1134 | (anonymous) | @ | zone-evergreen.js:2586 | proto.<computed> | @ | zone-evergreen.js:1449 | requestAnimFrame | @ | leaflet-src.js:244 | _tryAnimatedZoom | @ | leaflet-src.js:4676 | setView | @ | leaflet-src.js:3208 | setZoomAround | @ | leaflet-src.js:3262 | _performZoom | @ | leaflet-src.js:13719 | invokeTask | @ | zone-evergreen.js:399 | runTask | @ | zone-evergreen.js:167 | invokeTask | @ | zone-evergreen.js:480 | ZoneTask.invoke | @ | zone-evergreen.js:469 | timer | @ | zone-evergreen.js:2552 | setTimeout (async) | | | scheduleTask | @ | zone-evergreen.js:2573 | scheduleTask | @ | zone-evergreen.js:385 | scheduleTask | @ | zone-evergreen.js:210 | scheduleMacroTask | @ | zone-evergreen.js:233 | scheduleMacroTaskWithCurrentZone | @ | zone-evergreen.js:1134 | (anonymous) | @ | zone-evergreen.js:2586 | proto.<computed> | @ | zone-evergreen.js:1449 | _onWheelScroll | @ | leaflet-src.js:13693 | handler | @ | leaflet-src.js:2679 | invokeTask | @ | zone-evergreen.js:399 | runTask | @ | zone-evergreen.js:167 | invokeTask | @ | zone-evergreen.js:480 | invokeTask | @ | zone-evergreen.js:1621 | globalZoneAwareCallback | @ | zone-evergreen.js:1647
@angular: 9.1.9 @angular/cdk: 9.2.4 @asymmetrik/ngx-leaflet: 7.0.0 leaflet: 1.6.0 @types/leaflet: 1.5.12
Hi, How can I set CORS for used layer map? Currently I get an error:
@angular: 9.1.9 @angular/cdk: 9.2.4 @asymmetrik/ngx-leaflet: 7.0.0 leaflet: 1.6.0 @types/leaflet: 1.5.12