mapbox-gl-js-supported

A library to determine if a browser supports Mapbox GL JS

This project has been renamed to mapbox-gl-supported. Install using mapbox-gl-supported instead.
Last updated 10 years ago by lucaswoj .
BSD-3-Clause · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install mapbox-gl-js-supported 
SYNC missed versions from official npm registry.

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

Current Tags

  • 1.1.0                                ...           latest (10 years ago)

2 Versions

  • 1.1.0 [deprecated]           ...           10 years ago
  • 1.0.0 [deprecated]           ...           10 years ago
Maintainers (1)
Downloads
Today 0
This Week 2
This Month 3
Last Day 0
Last Week 1
Last Month 1
Dependencies (0)
None
Dev Dependencies (2)
Dependents (1)

Copyright 2013 - present © cnpmjs.org | Home |