mapbox/mapbox-gl-supported


A library to determine if a browser supports Mapbox GL JS

License: BSD-3-Clause

Language: HTML


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

Project Statistics

Sourcerank 11
Repository Size 15.6 KB
Stars 22
Forks 8
Watchers 71
Open issues 5
Dependencies 4
Contributors 6
Tags 5
Created
Last updated
Last pushed

Top Contributors See all

Lucas Wojciechowski John Firebaugh Dan Swick Anjana Sofia Vakil Tom MacWright Leith Bade

Packages Referencing this Repo

@mapbox/mapbox-gl-supported
A library to determine if a browser supports Mapbox GL JS
Latest release 1.4.1 - Updated - 22 stars
mapbox-gl-js-supported
A library to determine if a browser supports Mapbox GL JS
Latest release 1.1.0 - Updated - 22 stars
mapbox-gl-supported
A library to determine if a browser supports Mapbox GL JS
Latest release 1.2.0 - Updated - 22 stars

Recent Tags See all

v1.4.1 July 11, 2019
v1.3.0 December 04, 2017
v1.2.0 July 13, 2016
v1.1.1 June 09, 2016
v1.1.0 April 18, 2016

Something wrong with this page? Make a suggestion

Last synced: 2019-07-11 23:52:22 UTC

Login to resync this repository