3.0.0 • Published 2 months ago

@mapbox/mapbox-gl-supported v3.0.0

Weekly downloads
383,656
License
BSD-3-Clause
Repository
github
Last release
2 months ago

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 mapboxglSupported = require('@mapbox/mapbox-gl-supported');

if (mapboxglSupported.supported()) {
    ...
}
3.0.0

2 months ago

2.0.1

3 years ago

2.0.0

3 years ago

1.5.0

4 years ago

1.4.1

5 years ago

1.4.0

6 years ago

1.3.1

6 years ago

1.3.0

6 years ago