Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tyler throws error when using CairoMakie #24

Open
alex-s-gardner opened this issue Feb 3, 2023 · 4 comments
Open

Tyler throws error when using CairoMakie #24

alex-s-gardner opened this issue Feb 3, 2023 · 4 comments

Comments

@alex-s-gardner
Copy link
Contributor

alex-s-gardner commented Feb 3, 2023

When using CairoMakie I get this error

ERROR: please load either GLMakie, WGLMakie or CairoMakie
Stacktrace:
 [1] error(s::String)
   @ Base ./error.jl:35
 [2] Tyler.Map(rect::GeometryBasics.HyperRectangle{2, Float32}, zoom::Int64, input_cs::MapTiles.WGS84; figure::Figure, coordinate_system::MapTiles.WebMercator, provider::Provider, min_tiles::Int64, max_tiles::Int64, max_parallel_downloads::Int64, cache_size_gb::Int64)
   @ Tyler ~/.julia/packages/Tyler/eajCg/src/Tyler.jl:79
 [3] top-level scope
   @ ~/Documents/GitHub/Altim.jl/src/geolocate_dev.jl:88

I suspect that Tyler only works with GLMakie ?

If that's the case the the Error message needs updating.

@SimonDanisch
Copy link
Member

Uh, it's a bit unfortunate, but, yeah cairomakie doesn't work right now, but should be easy to fix...
WGLMakie definitely works though!

@asinghvi17
Copy link
Member

Why exactly does Tyler require access to the screen? Is it just to know when not to run the download task?

@lazarusA
Copy link
Collaborator

Latest release doesn't require a window open. However, cairomakie is still failing, somehow...

@asinghvi17
Copy link
Member

Ah, I forgot that Tyler can't work with CairoMakie as long as it plots meshes, because Cairo's mesh handling only interpolates colors between vertices (it can't handle UVs).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants