Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
INB
covid-portal
covid-portal-es
Commits
677ff43e
Commit
677ff43e
authored
Nov 29, 2021
by
Albert Hornos Vidal
Browse files
feat: adjust zoom on flowmaps incidence map
parent
1b9c6c20
Changes
1
Hide whitespace changes
Inline
Side-by-side
static/third_party/widget-incidencia-bsc/flowmaps-maps.js
View file @
677ff43e
...
...
@@ -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
:
6
00
,
zmax
:
1
00
,
customdata
:
locations
.
map
(
x
=>
buildCustomData
(
x
,
covidData
,
provincesNames
,
popData
)),
geojson
:
provinciasGeojson
,
hovertemplate
:
"
%{customdata[0]}<extra></extra>
"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment