Spaces:
Paused
Paused
|
Download node_modules/@mapbox/mapbox-gl-supported/README.md from Leon4gr45/UserSyncFrontend: direct link, hf CLI and curl.
- Browser
- Download file 627 Bytes
-
https://huggingface.co/spaces/Leon4gr45/UserSyncFrontend/resolve/main/node_modules/%40mapbox/mapbox-gl-supported/README.md
- Command line
-
hf download hf://spaces/Leon4gr45/UserSyncFrontend/node_modules/@mapbox/mapbox-gl-supported/README.md
-
curl -L -o README.md https://huggingface.co/spaces/Leon4gr45/UserSyncFrontend/resolve/main/node_modules/%40mapbox/mapbox-gl-supported/README.md
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')();