diff --git a/examples/wind-arrows.js b/examples/wind-arrows.js index 30f24e4896..c3fb5834fe 100644 --- a/examples/wind-arrows.js +++ b/examples/wind-arrows.js @@ -11,26 +11,29 @@ import {fromLonLat} from '../src/ol/proj.js'; const shaft = new RegularShape({ points: 2, - radius: 20, + radius: 5, stroke: new Stroke({ width: 2, - color: 'rgba(0,0,0,0.5)', + color: 'black', }), rotateWithView: true, }); const head = new RegularShape({ points: 3, - radius: 10, + radius: 5, fill: new Fill({ - color: 'rgba(0,0,0,0.5)', + color: 'black', }), rotateWithView: true, }); const styles = [new Style({image: shaft}), new Style({image: head})]; -const source = new VectorSource(); +const source = new VectorSource({ + attributions: + 'Weather data by OpenWeather', +}); const map = new Map({ layers: [