antv-l7/node_modules/@mapbox/mapbox-gl-supported
thinkinggis f7e5376b7d fix(fix css): fix css png 2019-11-22 18:04:14 +08:00
..
.eslintrc fix(fix css): fix css png 2019-11-22 18:04:14 +08:00
CONTRIBUTING.md fix(fix css): fix css png 2019-11-22 18:04:14 +08:00
LICENSE.txt fix(fix css): fix css png 2019-11-22 18:04:14 +08:00
README.md fix(fix css): fix css png 2019-11-22 18:04:14 +08:00
diagnostics.html fix(fix css): fix css png 2019-11-22 18:04:14 +08:00
index.html fix(fix css): fix css png 2019-11-22 18:04:14 +08:00
index.js fix(fix css): fix css png 2019-11-22 18:04:14 +08:00
package.json fix(fix css): fix css png 2019-11-22 18:04:14 +08:00

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')();