In vscode I’m running the most basic example for Tyler.jl, namely:
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:
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 => "© <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)