Giter VIP home page Giter VIP logo

api's Introduction

Map Forecast API

Map Forecast API is a simple-to-use library based on Leaflet 1.4.x. It allows you to use everything Leaflet or JavaScript offers, along with the Windy map visualizations we use at Windy.com.

This repository contains only Map Forecast API examples, check https://api.windy.com/ for more info.

Do you think any particular example or tutorial is lacking? PR is more than welcome!

Examples

Other resources

api's People

Contributors

ilblog avatar ivotest1974 avatar jrojano2 avatar mdorda avatar vrana avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

api's Issues

Thunderstorm layer is in Metric

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

Bug when setting fractional zoom (zoomSnap) option on map

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?

Screenshot 2022-06-07 at 09 48 51

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

Can't Login / Register As A New User

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

Error in Ubuntu

Uncaught Error: Windy API error: Wrong version of Leaflet library. Version 1.4.x is required

Coule you please increase the service in China

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!

Can I use my own data?

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!

Lightning tick sounds

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.

Update Leaflet Support to 1.9.3

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?

WMS overlays obscure the windy.com layer.

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:

Screen Shot 2021-06-29 at 1 46 57 PM
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.

mywindy.com links don't seem to work in Safari

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:

screenshot 2018-01-04 at 4 58 46 pm

Looking in the console you end up with a couple of errors for maps, failed resource loading, and 15 promise rejections.

screenshot 2018-01-04 at 5 02 23 pm

Just wanted to flag for ya'll on the off chance you've seen this before or aren't aware of it.

Windyty API doesn't work?!

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

Default Windy CSS hides scale display

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.

OpenLayers compatibility

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!

Update Wiki based on my forked Wiki example

See my proposed wiki changes at my fork of your repo https://github.com/johnblakey/API/wiki

Change List


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

NPM package?

Any chance that the API library is published as an npm package? Currently the only way I have found is via script tag.

How to get windy datasource?

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?

Turkish translate problem

Screenshot 2023-05-12 at 11 07 39
In this screenshot you can see the Dusk label translated to "Şafak" it is wrong. The correct translate should be "Akşam karanlığı". If u translate "Dawn" the result must be "Şafak". Can you change it please?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.