# Maps

# /map

Redirects to /map/districts.

# /map/districts

Returns a Heatmap (PNG) of week incidences for districts.

# Request

GET https://api.corona-zahlen.org/map/districts Open

# Response

districts map

# /map/districts-legend

Returns a Heatmap (PNG) of week incidences for districts with a legend and headline.

# Request

GET https://api.corona-zahlen.org/map/districts-legend Open

# Response

districts legend map

# /map/districts/legend

Returns the incident ranges for the colors.

# Request

GET https://api.corona-zahlen.org/map/districts/legend Open

# Response

{
  "incidentRanges": [
    {
      "min": 0,
      "max": 1,
      "color": "#2D81B8"
    },
    {
      "min": 1,
      "max": 5,
      "color": "#7FD38D"
    },
    {
      "min": 15,
      "max": 25,
      "color": "#FEFFB1"
    },
    {
      "min": 25,
      "max": 35,
      "color": "#FECA81"
    },
    {
      "min": 35,
      "max": 50,
      "color": "#F08A4B"
    },
    {
      "min": 50,
      "max": 100,
      "color": "#EB1A1D"
    },
    {
      "min": 100,
      "max": 200,
      "color": "#AB1316"
    },
    {
      "min": 200,
      "max": 350,
      "color": "#B374DD"
    },
    {
      "min": 350,
      "max": 500,
      "color": "#5B189B"
    },
    {
      "min": 500,
      "max": 1000,
      "color": "#543D35"
    },
    {
      "min": 1000,
      "max": null,
      "color": "#020003"
    }
  ]
}

# /map/states

Returns a Heatmap (PNG) of week incidences for states.

# Request

GET https://api.corona-zahlen.org/map/states Open

# Response

states map

# /map/states-legend

Returns a Heatmap (PNG) of week incidences for states with a legend and headline.

# Request

GET https://api.corona-zahlen.org/map/states-legend Open

# Response

states legend map

# /map/states/legend

Returns the incident ranges for the colors.

# Request

GET https://api.corona-zahlen.org/map/states/legend Open

# Response

{
  "incidentRanges": [
    {
      "min": 0,
      "max": 1,
      "color": "#2D81B8"
    },
    {
      "min": 1,
      "max": 5,
      "color": "#7FD38D"
    },
    {
      "min": 15,
      "max": 25,
      "color": "#FEFFB1"
    },
    {
      "min": 25,
      "max": 35,
      "color": "#FECA81"
    },
    {
      "min": 35,
      "max": 50,
      "color": "#F08A4B"
    },
    {
      "min": 50,
      "max": 100,
      "color": "#EB1A1D"
    },
    {
      "min": 100,
      "max": 200,
      "color": "#AB1316"
    },
    {
      "min": 200,
      "max": 350,
      "color": "#B374DD"
    },
    {
      "min": 350,
      "max": 500,
      "color": "#5B189B"
    },
    {
      "min": 500,
      "max": 1000,
      "color": "#543D35"
    },
    {
      "min": 1000,
      "max": null,
      "color": "#020003"
    }
  ]
}

# /map/states/hospitalization

Returns a Heatmap (PNG) of hospitalization incidences for states.

# Request

GET https://api.corona-zahlen.org/map/states/hospitalization Open

# Response

states legend map

# /map/states-legend/hospitalization

Returns a Heatmap (PNG) of hospitalization incidences for states with a legend and headline.

# Request

GET https://api.corona-zahlen.org/map/states-legend/hospitalization Open

# Response

states legend map