windycom / api Goto Github PK
View Code? Open in Web Editor NEW🏄Windy API, or Windy Leaflet Plugin, let you put animated weather map into your website and enjoy rich ecosystem of Leaflet library.
Home Page: https://api.windy.com
🏄Windy API, or Windy Leaflet Plugin, let you put animated weather map into your website and enjoy rich ecosystem of Leaflet library.
Home Page: https://api.windy.com
Leaflet 1.4.0, which this requires, is 4 years old now.
Leaflet version 1.9.3 has been out for a while, and there have been many updates and improvements since 1.4
Is the 1.4.x limitation due to something removed/changed in 1.5, or does it just need to be checked and confirmed if it is compatible?
It seems that Windy API hides .leaflet-control-container so L.control.scale().addTo(map) does not work by default and must be overriden in CSS. It works when adding
#windy #map-container .leaflet-control-container {
display:block !important;
}
to the local CSS. I understand that Windy uses custom zoom controls but scale should not be hidden by default.
Hey,
at first, I'm really impressed by your windyty project, which is awesome! Great job and thank you as well for offering the API to others! :)
I'm actually trying to use your offered Windyty API, but at the GitHub webpage it is written:
"Get your API key at this address, and then create html file with following code:" , but where is "this address" ? How do I get an API key?
Furthermore the address api.windyty.com doesn't seem to respond. That's why I want to ask you, if the windyty API is still working and an active project? ;-)
Thanks a lot for all your efforts and best regards,
Akio
See my proposed wiki changes at my fork of your repo https://github.com/johnblakey/API/wiki
Added link to Getting Started page on Home wiki page https://github.com/johnblakey/API/wiki
Corrected typo on Getting-Started page ('created' to 'create') https://github.com/johnblakey/API/wiki/Getting-Started
Updated the placeholder footer text with 'For user related questions or discussions see community.windy.com'
Updated the placeholder sidebar text with links to wiki pages
Unfortunately I can't create a pull request for the wiki section of a github repo for an easy comparison and merge.
Note: the links need to be modified to not reflect my forked version
I've already reached out, but again I'd like to give a strong kudos for the great work you folks have done on this tool.
While testing it out, I noticed that in Safari (Version 11.0.2) maps made from https://mywindy.com/dmoriarty/tester load the leaflet portion of the map, but don't seem to be able to load the 'windy' layers- i.e:
Looking in the console you end up with a couple of errors for maps, failed resource loading, and 15 promise rejections.
Just wanted to flag for ya'll on the off chance you've seen this before or aren't aware of it.
can I get windy datasource to make my own wind field? I want use AMap to achieve my own wind field instead of using Leaflet.js. How to do this?
Hi,
On the windy.com website, I was trying to login a few day's ago & quickly found out that I couldn't because evidently at one time I was in fact able to do so, but either I didn't save my login information or it's been deleted by the site. I tried to register as a new user, but upon entering the email address's that I normally use, I received a prompt that the entered address had already been used. At this point now I don't know what to do, and of course without being able to login, I can't post anything in the windy community either. Does anyone have any suggestion's ?
Thanks,
David
Uncaught Error: Windy API error: Wrong version of Leaflet library. Version 1.4.x is required
First and foremost, I can't even for the life of me figure out how to post to your forum. The screen is whited out like a blizzard and is hard on my eyes as well. I run a phpBB driven forum and the software you're using is a PITA.
Now to the pertinent. The issue is the annoying tick sounds for lightning. I loaded the radar map and I heard what I thought was a relay kicking in with my computer or radio gear sitting here. I literally got up and had to check everything. Then I noticed when there was a lightning strike on the map the sound was heard. So, went into the settings to adjust this and nothing was found. If it's there it sure oughta be in the settings and not buried somewhere else.
I suggest the audio be selectable or changed as this tick sound sounds just like a relay kicking in or something wrong with electronics.
Thanks.
Hi guys,
First time posting an issue, not sure where is the quicker response. I originally posted the issue here: https://community.windy.com/topic/20752/bug-when-setting-fractional-zoom-zoomsnap?_=1654580746506
The issue is when I set the fractional zoom (zoomSnap: 0.1, zoom : 8.4, for example), the Windy layers get lost, including labels and others (temp, rain, clouds, etc. whatever is active). From the investigation, it seems the content is translated wrong.
Maybe that's a bug in the API? Would there be any workaround that I can't see, maybe?
Some of the code I use for this:
windyInit(config.windyOptions, windyAPI => {
const { map, colors, broadcast, store, picker, utils } = windyAPI;
map.options.zoomSnap = 0.1;
map.setZoom(8.4)
}
Thanks!
Justinas
On page https://www.asiapajkowska.pl/tracking/ position of boat is diffrent of end of end route. Both positions are the same
I searched and I observed some code examples, yours docs. But I couldn't fine anything about OpenLayers usage with Windy API. Can you do this ? Thanks.
hello am getting 403 forbidden error when try to run api.windyty.com
any solution for that
Under the Rain, Thunder
, the “Thunderstorm” layer key is in metric
Yes it’s the SI system, but perhaps a 3rd toggle for American / metric / SI units? So people can choose?
Thanks …
Best Regards,
Stewart Alexander
Thank you for generously giving us such a beautiful map API for free, but there seems to be no way to open the API website in China. Could you deploy a service in China so that millions of Chinese developers can see such a beautiful map!
Hi,
currently I have to download the windy lib and modify the leaflet version check inside to make it work with the most recent leaflet version.
Because leaflet 1.4 is from 2018 and there have been many improvements since then, I want to ask if it is planned to raise this plugin to be compatible with leaflet 1.9. I think it is just one line of code that has to be changed and that would make our life easier.
Thanks in advance.
Under the clouds
layer, the “visibility” layer key is in metric km … even though I have American unit system selected
when I do this:
windyInit(options, () => {
console.log("map",W.map);
var wmsLayer2 = L.tileLayer.wms('https://mydomain/geoserver/sparcs/wms?', {
layers: 'sparcs:firesit_public',
transparency: 'true',
format: 'image/png',
}).addTo(W.map);
var cbs_cars = L.WMS.overlay('https://mydomain/geoserver/sparcs/wms', {
'layers': 'sparcs:fmd_regions_2018',
'styles': '',
'format': 'image/png'
}).addTo(W.map);
});
I get this:
This obviously defeats the purpose of trying to overlay something over windy. Can anyone suggest what i am doing wrong? It just seems that windy map API is not behaving like leaflet.
On mobile the weather picker gives a Javascript error. windy.com doesn't have this issue.
Any chance that the API library is published as an npm package? Currently the only way I have found is via script tag.
already existing map of leaflet js ...how to add only the wind/current part in the map
Did anybody already explore if Windy can be displayed in flutter somehow, maybe using fleaflet
library?
fleaflet/flutter_map#92
This is probably a long shot, but is there no way to incorporate this with OpenLayers? We'd love to switch to Leaflet, but have a massive project already written in OpenLayers. Thanks!
http://se.kiteforum.com/spots-test
here I put hello world code. But getting errors on console. Please help.
Hi,
I'm wondering if I can use my own data and plot weather map with Windy? Does Windy API support own data?
Thank you!
When i load Leaflet Js and CSS in and then load windy api in , the windy css is overwritten by leaflet css
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.