airgradienthq / map

Other
8 stars 2 forks source link

Add data provider in chart bottom sheet #11

Closed airgradienthq closed 9 months ago

airgradienthq commented 1 year ago

OpenAQ gives the data provider in the endpoint that is loaded for the chart when opening the bottom sheet. To open that sheet, click on a colored button. Please note that currently we get many 408s from openAQ, so the chart might not load.

For example: https://api.openaq.org/v3/locations/299916

image

Data provider name (in above case "Purple Air" should be displayed next to OpenAQ on the bottom sheet:

image