Any sample data for wind json to pass as res to ol wind #222
Unanswered
AravindThinkPalm98
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
useEffect(() => {
if (map && windData) {
const windLayer = new WindLayer(windData, {
forceRender: false,
windOptions: {
velocityScale: 1 / 20,
paths: 5000,
colorScale: () => '#ff473c',
width: 3,
generateParticleOption: false,
},
});
}, [map, windData]);
for the above code i provide a geojson as windData and in console it shows like illegal data can anyone help
Beta Was this translation helpful? Give feedback.
All reactions