# Remove map background

**URL:** <https://nextstrain.discourse.group/t/remove-map-background/1632>\
**Category:** Help and Getting Started\
**Created:** [May 2, 2024, 2:08pm UTC](https://nextstrain.discourse.group/t/remove-map-background/1632 "2024-05-02T14:08:23Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![leocaserta](https://avatars.discourse-cdn.com/v4/letter/l/3d9bf3/32.png) [@leocaserta](https://nextstrain.discourse.group/u/leocaserta)\
**Post date:** [May 2, 2024, 2:08pm UTC](https://nextstrain.discourse.group/t/remove-map-background/1632/1 "2024-05-02T14:08:23Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![victorlin](https://yyz1.discourse-cdn.com/flex031/user_avatar/nextstrain.discourse.group/victorlin/32/306_2.png) [@victorlin](https://nextstrain.discourse.group/u/victorlin)\
**Post date:** [May 2, 2024, 5:07pm UTC](https://nextstrain.discourse.group/t/remove-map-background/1632/2 "2024-05-02T17:07:44Z")

</div>

Hi @leocaserta,

This is not an official feature of Auspice, but you can achieve what you want using some JavaScript in the browser tools.

1. Open browser inspector (right click \> Inspect Element on most browsers)

2. Go to “Console” tab

3. Run this command:

Here’s what it looks like on [nextstrain.org/zika@2024-05-02](https://nextstrain.org/zika@2024-05-02):

![zika-no-map](https://canada1.discourse-cdn.com/flex031/uploads/nextstrain/original/1X/3c0cf49744fb33db972f3b0d77bb460a0dbe6694.png)

– Victor

---

<div class="post-metadata">

**Author:** ![leocaserta](https://avatars.discourse-cdn.com/v4/letter/l/3d9bf3/32.png) [@leocaserta](https://nextstrain.discourse.group/u/leocaserta)\
**Post date:** [May 3, 2024, 4:53pm UTC](https://nextstrain.discourse.group/t/remove-map-background/1632/3 "2024-05-03T16:53:04Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![victorlin](https://yyz1.discourse-cdn.com/flex031/user_avatar/nextstrain.discourse.group/victorlin/32/306_2.png) [@victorlin](https://nextstrain.discourse.group/u/victorlin)\
**Post date:** [May 3, 2024, 5:15pm UTC](https://nextstrain.discourse.group/t/remove-map-background/1632/4 "2024-05-03T17:15:35Z")

</div>

Try this:

```js
document.querySelector('.leaflet-container').style.background = 'white';

```
