map: offset digi labels from the point for visibility
This commit is contained in:
parent
5ecd2d69da
commit
3ac5d719de
@ -156,7 +156,10 @@ function plotPacketPaths(packets) {
|
||||
zIndex: 1, // TODO: probably not the best way to do this
|
||||
source: new VectorSource(),
|
||||
style: feature => {
|
||||
digi_style.getText().setText(feature.get('callsign'));
|
||||
digi_style.setText(new Text({
|
||||
text: feature.get('callsign'),
|
||||
offsetY: 12
|
||||
}));
|
||||
return digi_style;
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user