API -> map data based on touch/click location

Hi all, copy there's no formal support for the api, but was wondering if I could get a vector on where to start for integrating the touch/click-on-a-map-location- to display the weather data at that location.

For example, with a wind overlay displayed, on the windytv app and website you can click on a location on the map and get the wind speed/direction at the location you've clicked. Was wonder what methods I should start looking at to get that integrated with the API in my own app, thanks