# Map not displayed completely

**URL:** <https://nextstrain.discourse.group/t/map-not-displayed-completely/1121>\
**Category:** General\
**Created:** [May 23, 2022, 1:04pm UTC](https://nextstrain.discourse.group/t/map-not-displayed-completely/1121 "2022-05-23T13:04:59Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![sreems](https://avatars.discourse-cdn.com/v4/letter/s/e9c0ed/32.png) [@sreems](https://nextstrain.discourse.group/u/sreems)\
**Post date:** [May 23, 2022, 1:04pm UTC](https://nextstrain.discourse.group/t/map-not-displayed-completely/1121/1 "2022-05-23T13:04:59Z")

</div>

Hi!  
Sorry for raising this question again but the map panel doesn’t show complete view. I can see only the pie charts being displayed on the grey background and no outline of map. I have tried updating auspice as suggested in [Map panel not displaying map](https://nextstrain.discourse.group/t/map-panel-not-displaying-map/522). But the issue still remains. I even tried what @james suggested in [Build with newest nextstrain/ncov has API requests to mapbox 403:Forbidden](https://nextstrain.discourse.group/t/build-with-newest-nextstrain-ncov-has-api-requests-to-mapbox-403-forbidden/396) and I still don’t get the map outlines.

 ![Screenshot from 2022-05-23 18-39-36](https://canada1.discourse-cdn.com/flex031/uploads/nextstrain/original/1X/385e2dddaf6923a36150ceaffe6739dc0c09f2d3.png)

---

<div class="post-metadata">

**Author:** ![james](https://yyz1.discourse-cdn.com/flex031/user_avatar/nextstrain.discourse.group/james/32/11_2.png) [@james](https://nextstrain.discourse.group/u/james)\
**Post date:** [May 24, 2022, 1:01am UTC](https://nextstrain.discourse.group/t/map-not-displayed-completely/1121/2 "2022-05-24T01:01:40Z")

</div>

Hi @sreems – are you running auspice locally on your machine through [http://localhost](http://localhost):XXXX? Is there anything particular about your setup?

---

<div class="post-metadata">

**Author:** ![sreems](https://avatars.discourse-cdn.com/v4/letter/s/e9c0ed/32.png) [@sreems](https://nextstrain.discourse.group/u/sreems)\
**Post date:** [May 24, 2022, 3:03am UTC](https://nextstrain.discourse.group/t/map-not-displayed-completely/1121/3 "2022-05-24T03:03:52Z")

</div>

Hi @james  
Yes, I am running auspice locally and there is nothing particular about the setup.

---

<div class="post-metadata">

**Author:** ![sreems](https://avatars.discourse-cdn.com/v4/letter/s/e9c0ed/32.png) [@sreems](https://nextstrain.discourse.group/u/sreems)\
**Post date:** [May 24, 2022, 5:34am UTC](https://nextstrain.discourse.group/t/map-not-displayed-completely/1121/4 "2022-05-24T05:34:35Z")

</div>

I am generating auspice.json file using augur export V2. And trying to locally view the tree using nextstrain view --allow-remote-access --native /path/to/directory/  
The tree is visible perfectly. But not the map.

---

<div class="post-metadata">

**Author:** ![james](https://yyz1.discourse-cdn.com/flex031/user_avatar/nextstrain.discourse.group/james/32/11_2.png) [@james](https://nextstrain.discourse.group/u/james)\
**Post date:** [May 24, 2022, 6:46am UTC](https://nextstrain.discourse.group/t/map-not-displayed-completely/1121/5 "2022-05-24T06:46:16Z")

</div>

Can you run `auspice view --datasetDir /path/to/directory/` and see if this resolves the issue?

(For this to work you’ll need to [install auspice itself](https://docs.nextstrain.org/projects/auspice/en/stable/introduction/install.html), but you indicate you’re running the native runtime (`--native`) so this should already be installed.)

---

<div class="post-metadata">

**Author:** ![sreems](https://avatars.discourse-cdn.com/v4/letter/s/e9c0ed/32.png) [@sreems](https://nextstrain.discourse.group/u/sreems)\
**Post date:** [May 24, 2022, 7:09am UTC](https://nextstrain.discourse.group/t/map-not-displayed-completely/1121/6 "2022-05-24T07:09:54Z")

</div>

I ran auspice view and still got the map issue.

I am attaching the screenshot of terminal after running the same.

 ![Screenshot from 2022-05-24 12-43-37](https://canada1.discourse-cdn.com/flex031/uploads/nextstrain/original/1X/d07a2ff8cc259fe93458c8bbd45ef6092ee7f435.png)

---

<div class="post-metadata">

**Author:** ![james](https://yyz1.discourse-cdn.com/flex031/user_avatar/nextstrain.discourse.group/james/32/11_2.png) [@james](https://nextstrain.discourse.group/u/james)\
**Post date:** [May 25, 2022, 2:39am UTC](https://nextstrain.discourse.group/t/map-not-displayed-completely/1121/7 "2022-05-25T02:39:20Z")

</div>

Ok. One final thing to try – can you look in the console of your browser when the map’s not working and see if there are any errors printed? You could also check the network tab and see if map tiles are trying to be loaded and what their status code is. For instance, here’s what it looks like for me (running `auspice view` on localhost using Firefox):

 ![image](https://canada1.discourse-cdn.com/flex031/uploads/nextstrain/original/1X/307bf1388c1661a76c1510247df01f0381122de3.png)

---

<div class="post-metadata">

**Author:** ![sreems](https://avatars.discourse-cdn.com/v4/letter/s/e9c0ed/32.png) [@sreems](https://nextstrain.discourse.group/u/sreems)\
**Post date:** [May 25, 2022, 7:01am UTC](https://nextstrain.discourse.group/t/map-not-displayed-completely/1121/8 "2022-05-25T07:01:22Z")

</div>

Hey @james  
Thank you so much for troubleshooting this issue with me.  
I ran auspice view command and here are the screenshots of my browser console and the network tab.  
I see that there are no status codes for any of my tiles. And the console does show some errors.  
The error in network shows this message when hovered “the connection used to fetch this resource was not secure”.

I appreciate your help very much.

 ![Screenshot from 2022-05-25 11-37-20](https://canada1.discourse-cdn.com/flex031/uploads/nextstrain/original/1X/222ed37cafd828b59afc4c6e6e8a029654343582.png)

 ![Screenshot from 2022-05-25 11-46-30](https://canada1.discourse-cdn.com/flex031/uploads/nextstrain/original/1X/594b1b6e4da1c33987baa391fc6f41b076e8e09b.png)

---

<div class="post-metadata">

**Author:** ![james](https://yyz1.discourse-cdn.com/flex031/user_avatar/nextstrain.discourse.group/james/32/11_2.png) [@james](https://nextstrain.discourse.group/u/james)\
**Post date:** [May 25, 2022, 9:58pm UTC](https://nextstrain.discourse.group/t/map-not-displayed-completely/1121/9 "2022-05-25T21:58:08Z")

</div>

Those screenshots were super helpful. The map tile addresses are “a.tile.ope…” which indicates you are running a customised version of auspice (perhaps using [this guide I wrote?](https://nextstrain.discourse.group/t/build-with-newest-nextstrain-ncov-has-api-requests-to-mapbox-403-forbidden/396/11)). In this case you’ll have to look into your browser settings and the exact tile-address you are using in your customisation.

P.S. I would expect auspice to work out-of-the-box for you (on localhost) and am happy to debug further if that’s not working.

---

<div class="post-metadata">

**Author:** ![sreems](https://avatars.discourse-cdn.com/v4/letter/s/e9c0ed/32.png) [@sreems](https://nextstrain.discourse.group/u/sreems)\
**Post date:** [May 26, 2022, 12:21pm UTC](https://nextstrain.discourse.group/t/map-not-displayed-completely/1121/10 "2022-05-26T12:21:03Z")

</div>

Hey  
Thanks for helping me out. I just simply had to change the browser. I was using firefox, and then tried using chrome. It worked perfectly with chrome.

Thanks once again.
