maplibre / maplibre-rs

Experimental Maps for Web, Mobile and Desktop
Apache License 2.0
1.34k stars 77 forks source link

Add graceful check for WebAssembly #264

Open maxammann opened 1 year ago

maxammann commented 1 year ago

🤔 Expected Behavior

When a browser does not support WebAssembly (Vanadium in default config) we should raise an error and then show an alert. All of this should be handled in JS obviously.

😯 Current Behavior

An error is thrown.

💁 Possible Solution

🔦 Context

💻 Code Sample

🌍 Your Environment