This package has been deprecated

Author message:

This project has been renamed to mapbox-gl-supported. Install using mapbox-gl-supported instead.

mapbox-gl-js-supported

1.1.0 • Public • Published

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-js-supported.js'></script>
<script>
if (mapboxgl.supported()) {
    ...
} else {
    ...
}
</script> 

Using Mapbox GL JS Supported with Browserify

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

Readme

Keywords

none

Package Sidebar

Install

npm i mapbox-gl-js-supported

Weekly Downloads

346

Version

1.1.0

License

BSD-3-Clause

Last publish

Collaborators

  • mapbox-admin