Well, looking through the leaflet documentation it appears I need to use something like this:

L.marker([51.5, -0.09], {icon: greenIcon}).addTo(map).bindPopup("I am a green leaf.");

Now the questions are, how can I get the wind speed and direction?

I tried something like this to get the mph but it failed:


I'd love to get a little help here.