tahamajs/RR / Codes /frontend /node_modules /@mapbox /mapbox-gl-supported
67.2 GB
208,150 files
Updated about 2 months ago
Name
Size
.eslintrc321 Bytes
xet
CONTRIBUTING.md277 Bytes
xet
LICENSE.txt1.51 kB
xet
README.md627 Bytes
xet
diagnostics.html5.93 kB
xet
index.html1.58 kB
xet
index.js5.95 kB
xet
package.json806 Bytes
xet
README.md

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')();
Total size
67.2 GB
Files
208,150
Last updated
Sep 27
Pre-warmed CDN
US EU US EU

Contributors