You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Allow setting a weight to each continent (70% North America & EU; 10% Africa; 20% Asia, etc). This can be done in a new "non-interactive" view-only mode where map is displayed.
Why?
Simple On/Off can convey 1 dimension of information. But having a "weight" on each continent can allow the map to convey much more information.
NOTE: Weight would require (1) multiple = true (2) nonInteractive = true; only then selected can be a complex object with continent : weight.
This can display something like:
Implementation
This is pretty easy. If the multiple and nonInteractive props are true, then parse the selected as continent : weight object; and set weight as CSS opacity on each continent. Default value can be 0.1 if weight is undefined.
The text was updated successfully, but these errors were encountered:
What?
Allow setting a weight to each continent (70% North America & EU; 10% Africa; 20% Asia, etc). This can be done in a new "non-interactive" view-only mode where map is displayed.
Why?
Simple On/Off can convey 1 dimension of information. But having a "weight" on each continent can allow the map to convey much more information.
Proposal
NOTE: Weight would require (1) multiple = true (2) nonInteractive = true; only then
selected
can be a complex object withcontinent : weight
.This can display something like:
Implementation
This is pretty easy. If the
multiple
andnonInteractive
props are true, then parse theselected
ascontinent : weight
object; and setweight
as CSSopacity
on each continent. Default value can be0.1
if weight is undefined.The text was updated successfully, but these errors were encountered: