Fallback for disabled webgl #4473
Unanswered
benjaminpreiss
asked this question in
Q&A
Replies: 2 comments 4 replies
-
You might be able to use mapbox.js, but you'll need a server to serve rasters of your vector tiles I believe. |
Beta Was this translation helpful? Give feedback.
2 replies
-
You might be able to detect WebGL support and then fallback to a map with e.g. Leaflet (which is WebGL-less). The challenge lies in displaying your data with a similar graphical appearance, since (to my knowledge) vector stylesheet support for renderers based solely in 2D Canvas is... lacking. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
With mapbox gl js there is a fallback in case webgl is not available: https://docs.mapbox.com/help/tutorials/use-mapbox-js-as-fallback/
Is this also possible with maplibre gl js? If so, how? Can you point me in the right direction?
Beta Was this translation helpful? Give feedback.
All reactions