Lilypad-Tech / web-ui

UIs and website that are accessed with a browser
Apache License 2.0
3 stars 0 forks source link

[metrics] Catch `Failed to initialize WebGL` error in Map component #69

Closed benjaminpreiss closed 4 months ago

benjaminpreiss commented 4 months ago

image

benjaminpreiss commented 4 months ago

Search for open issues

benjaminpreiss commented 4 months ago

Solution:

Screenshot 2024-07-30 at 15 30 01
AquiGorka commented 4 months ago

@benjaminpreiss how about providing a static fallback? Instead of showing a webgl map, we show the static image of the map and we set pins for that zoom level?

benjaminpreiss commented 4 months ago

Further ideas to fix this error: https://docs.mapbox.com/help/tutorials/use-mapbox-js-as-fallback/

benjaminpreiss commented 4 months ago

We will now provide a short term solution in the above-mentioned form.