Show clearnet nodes on world map

This commit is contained in:
nymkappa 2022-09-06 21:17:15 +02:00
parent 12c188266a
commit 004768132b
No known key found for this signature in database
GPG Key ID: E155910B16E8BD04

View File

@ -122,10 +122,13 @@ export class NodesMap implements OnInit {
return 10 * Math.pow(params[2] / maxLiquidity, 0.2) + 3; return 10 * Math.pow(params[2] / maxLiquidity, 0.2) + 3;
}, },
tooltip: { tooltip: {
position: function(point, params, dom, rect, size) {
return point;
},
trigger: 'item', trigger: 'item',
show: true, show: true,
backgroundColor: 'rgba(17, 19, 31, 1)', backgroundColor: 'rgba(17, 19, 31, 1)',
borderRadius: 4, borderRadius: 0,
shadowColor: 'rgba(0, 0, 0, 0.5)', shadowColor: 'rgba(0, 0, 0, 0.5)',
textStyle: { textStyle: {
color: '#b1b1b1', color: '#b1b1b1',
@ -155,7 +158,6 @@ export class NodesMap implements OnInit {
borderColor: 'black', borderColor: 'black',
borderWidth: 0, borderWidth: 0,
}, },
blendMode: 'lighter',
zlevel: 2, zlevel: 2,
}, },
] ]