We'd like an API request to be submitted when a user selects a location on the map box.
The request should be made to the API's hazard route implemented by https://github.com/os-climate/physrisk-api/issues/5 with latitude and longitude provided by map selection.
Upon receipt of request response, the UI plots a graph below the map box using returned intensity_curve_sets.
These are curves with return period and event intensity.
We'd like an API request to be submitted when a user selects a location on the map box. The request should be made to the API's hazard route implemented by https://github.com/os-climate/physrisk-api/issues/5 with latitude and longitude provided by map selection. Upon receipt of request response, the UI plots a graph below the map box using returned
intensity_curve_sets
. These are curves with return period and event intensity.Graphing suggestions: chartJS