tahamajs's picture
|
download
raw
627 Bytes

Mapbox GL JS Supported

This library determines if a browser supports Mapbox GL JS.

Testing Your Browser

You may test your browser here.

Using Mapbox GL JS Supported with a <script> tag

<script src='mapbox-gl-supported.js'></script>
<script>
if (mapboxgl.supported()) {
    ...
} else {
    ...
}
</script>

Using Mapbox GL JS Supported with Browserify

npm install --save @mapbox/mapbox-gl-supported
var isSupported = require('@mapbox/mapbox-gl-supported')();

Xet Storage Details

Size:
627 Bytes
·
Xet hash:
8b6e3379540c486b1d4c32cce3cb75d20057af9829cc30229b30d659c96852ba

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.