diff --git a/examples/resources/mapbox-streets-v6-style.js b/examples/resources/mapbox-streets-v6-style.js index eb9b496c87..abd5babca3 100644 --- a/examples/resources/mapbox-streets-v6-style.js +++ b/examples/resources/mapbox-streets-v6-style.js @@ -16,7 +16,8 @@ function createMapboxStreetsV6Style(Style, Fill, Stroke, Icon, Text) { if (!icon) { icon = new Style({image: new Icon({ src: 'https://unpkg.com/@mapbox/maki@4.0.0/icons/' + iconName + '-15.svg', - imgSize: [15, 15] + imgSize: [15, 15], + crossOrigin: 'anonymous' })}); iconCache[iconName] = icon; }