Hello,
I would like to remove the background of the map and keep only the circles and transmission lines. I imagine it’s something easy to do in the browser but I can’t find it.
Thank you
Leonardo
Hello,
I would like to remove the background of the map and keep only the circles and transmission lines. I imagine it’s something easy to do in the browser but I can’t find it.
Thank you
Leonardo
Hi @leocaserta,
This is not an official feature of Auspice, but you can achieve what you want using some JavaScript in the browser tools.
Open browser inspector (right click > Inspect Element on most browsers)
Go to “Console” tab
Run this command:
document.querySelector('.leaflet-tile-pane').style.visibility = 'hidden';
Here’s what it looks like on nextstrain.org/zika@2024-05-02:
– Victor
Thank you for your reply, @victorlin . I have an additional question: Is it possible to change the background color to white instead of grey?
Thank you
Try this:
document.querySelector('.leaflet-container').style.background = 'white';