   renderFrom: leafletWind.RenderFrom.rg,
      displayRange: [0, 104],
      renderType: leafletWind.RenderType.colorize,
      picking: true,
    });

    window.wind = raster;

    map.on('click', (event) => {
      wind.picker(event.latlng)
        .then(res => {
          console.log(res);
        })
    })

    map.addLayer(wind);
  }

  add();

  function handleAdd () {
    map.addLayer(window.wind);
  }

  function handleRemove () {
    map.removeLayer(window.wind);
  }
</script>
</body>
</html>
