# Tyler maps sometimes show, sometimes they don't in vscode

**URL:** <https://discourse.julialang.org/t/tyler-maps-sometimes-show-sometimes-they-dont-in-vscode/110196>\
**Category:** General Usage\
**Tags:** vscode, glmakie, tyler\
**Created:** [February 14, 2024, 3:35am UTC](https://discourse.julialang.org/t/tyler-maps-sometimes-show-sometimes-they-dont-in-vscode/110196 "2024-02-14T03:35:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Joris\_Pinkse](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/joris_pinkse/32/216398_2.png) [@Joris\_Pinkse](https://discourse.julialang.org/u/Joris_Pinkse)\
**Post date:** [February 14, 2024, 3:35am UTC](https://discourse.julialang.org/t/tyler-maps-sometimes-show-sometimes-they-dont-in-vscode/110196/1 "2024-02-14T03:35:43Z")

</div>

In **vscode** I’m running the most basic example for Tyler.jl, namely:

```julia
using Tyler, GLMakie

tyler = Tyler.Map(Rect2f(-0.0921, 51.5, 0.04, 0.025))

```

Sometimes the map shows, sometimes it doesn’t (in which case it isn’t listed in the Plot Navigator either). Any idea what could be causing this?

fwiw, this is what the call to `Tyler.Map` returns in case of failure:

```julia
Tyler.Map(TileProviders.Provider("https://tile.openstreetmap.org/{z}/{x}/{y}.png", Dict{Symbol, Any}(:url => "https://tile.openstreetmap.org/{z}/{x}/{y}.png", :attribution => "(C) OpenStreetMap contributors", :name => "OpenStreetMap.Mapnik", :html_attribution => "&copy; <a href=\"https://www.openstreetmap.org/copyright\">OpenStreetMap</a> contributors", :max_zoom => 19)), MapTiles.WebMercator(), Observable(14), Scene (1000px, 1000px):
  0 Plots
  1 Child Scene:
    └ Scene (1000px, 1000px), Axis (0 plots), OrderedCollections.OrderedSet{MapTiles.Tile}(MapTiles.Tile[MapTiles.Tile(31, 21, 6), MapTiles.Tile(63, 42, 7), MapTiles.Tile(127, 85, 8), MapTiles.Tile(255, 170, 9), MapTiles.Tile(511, 340, 10), MapTiles.Tile(1023, 681, 11), MapTiles.Tile(1023, 680, 11), MapTiles.Tile(2046, 1362, 12), MapTiles.Tile(2046, 1361, 12), MapTiles.Tile(2047, 1361, 12) … MapTiles.Tile(4094, 2724, 13), MapTiles.Tile(8187, 5448, 14), MapTiles.Tile(8187, 5446, 14), MapTiles.Tile(8188, 5446, 14), MapTiles.Tile(8189, 5446, 14), MapTiles.Tile(8187, 5447, 14), MapTiles.Tile(8188, 5447, 14), MapTiles.Tile(8189, 5447, 14), MapTiles.Tile(8188, 5448, 14), MapTiles.Tile(8189, 5448, 14)]), Dict{MapTiles.Tile, Any}(), Plot[], LRU{MapTiles.Tile, Matrix{ColorTypes.RGB{FixedPointNumbers.N0f8}}}(; maxsize = 5000000000), 16, OrderedCollections.OrderedSet{MapTiles.Tile}(), ThreadSafeDicts.ThreadSafeDict{MapTiles.Tile, Task}(MapTiles.Tile(8188, 5448, 14) => Task (done) @0x00007f6efcacb850), Channel{Tuple{MapTiles.Tile, Matrix{ColorTypes.RGB{FixedPointNumbers.N0f8}}}}(128), Base.RefValue{Task}(Task (runnable) @0x00007f6f047407e0), Base.RefValue{Task}(Task (runnable) @0x00007f6f04740650), 8, 0.2, 1.0, 19)

```

---

<div class="post-metadata">

**Author:** ![asinghvi17](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/asinghvi17/32/8272_2.png) [@asinghvi17](https://discourse.julialang.org/u/asinghvi17)\
**Post date:** [March 1, 2024, 3:28pm UTC](https://discourse.julialang.org/t/tyler-maps-sometimes-show-sometimes-they-dont-in-vscode/110196/2 "2024-03-01T15:28:33Z")

</div>

Is it the case that in one session it will always show, and in another it will never show? Or are you changing Makie backends in between?
