Commit 677ff43e authored by Albert Hornos Vidal's avatar Albert Hornos Vidal
Browse files

feat: adjust zoom on flowmaps incidence map

parent 1b9c6c20
......@@ -154,7 +154,7 @@ function create_data_for_map(locations, covidData, popData, provincesNames, prov
locations: locations,
z: locations.map(x=>round(100000*covidData[x].active_cases_14/popData[x].population, 2)),
zmin: 0,
zmax: 600,
zmax: 100,
customdata: locations.map(x=>buildCustomData(x, covidData, provincesNames, popData)),
geojson: provinciasGeojson,
hovertemplate: "%{customdata[0]}<extra></extra>",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment