have you looked at the documentation samples:
once you have a reference to
map, you can use it as documented in leaflet documentation.
I have not looked myself, but have you gone digging through the code for the isoline plugin:
You might find there are parameters you might manage to configure; or you might be able to make your own custom variant to use in place of this ootb plugin.
ah, so the address is https://www.sääneuvos.fi/test/testAPI4.php.
when i try load that page, i see the js console is reporting the following error:
Windy API used on unauthorized domain
Have you authorized your domain (www.sääneuvos.fi) in your API config (https://api4.windy.com/api-key/)? If you have, ivo's code might be having issues with the special characters in your domain name (ä)...
start with the samples/tutorials at https://api4.windy.com/. just copy the sample html as is into your own html file, put it on your web server, and look at the resulting page. make changes as needed. the samples cover a lot of ground in terms of typical changes folks might be interested in.
Hi @ivo - this issue is still present.
Hi @ivo. Any news on this one? This is a blocker for me too. Looks like the API registers a "keydown" event listener on body and then prevents propagation (preventDefault) - swallowing the event. Renders all form elements inoperative.
I see the wrapper div in the DOM:
But it's empty.
API v4 apps are currently failing to load. Calls to https://api4.windy.com/api4/auth rimout after 30 seconds with a 502 response.
It looks like the forecast model data is not automatically updating. In the screenshot below you can see the forecast data was last updated 42 hours ago.
Should it update automatically?
Is there a way to force it to update? In the v2 API, my trick for doing this was to reload https://www.windyty.com/gfs/minifest.js.