Presently, end users are required to include all of mapbox-gl.js in order to test if it is supported. This is impractical for bandwidth-conscious users who are implementing fallback to mapbox.js.
:+1:
This would greatly improve the experience for Android devices that don't support WebGL. We could use this to _only_ download the GL or raster code and not double up. Critical for 2G/3G networks.
Agreed, I'd love to see a solution for this.
I have moved the necessary logic to https://github.com/mapbox/mapbox-gl-js-supported
@bhousel Does this look ready to 馃殺?
Most helpful comment
I have moved the necessary logic to https://github.com/mapbox/mapbox-gl-js-supported
Next Steps