mapbox-gl-supported
A small library that checks whether a browser supports Mapbox GL JS. Developers use it to show a fallback when the map cannot run.
Share on XLicense: BSD-3-Clause
Overview
Mapbox GL JS Supported is a small library that checks whether a browser can run Mapbox GL JS. You call isSupported and branch on the result, for example to show a fallback when the map cannot load. It can be used through a script tag or installed from npm as @mapbox/mapbox-gl-supported and imported as a module. A page is provided for testing your own browser.
Key features
- isSupported check for Mapbox GL JS
- Usable with a script tag or as an npm module
- Online page to test a browser
Best for
Web developers who want to detect unsupported browsers and show a fallback before creating a Mapbox GL JS map.
- Upstream
- mapbox/mapbox-gl-supported
- Fork on GitHub
- Guo-astro/mapbox-gl-supported
- Upstream stars
- 43
- Category
- Maps and geospatial
- Language
- JavaScript
- License
- BSD-3-Clause
- Forked
- 2020-11-01
- Sync status
- In syncLast synced 2026-10-10
More in Maps and geospatial
GeoLibre is a GIS for visualizing and analyzing geospatial data across browser, desktop, mobile, and notebooks. It keeps work local with browser geoprocessing tools.
Forked 2026-10-07Last synced 2026-10-10License: MITMaps and geospatialGitHub
An open source command line toolkit that turns drone, balloon or kite photos into maps, point clouds, 3D models and elevation models. Used for aerial mapping and surveying.
Forked 2026-06-09Last synced 2026-10-10License: AGPL-3.0Maps and geospatialGitHub
A mobile web prototype for map lighting challenges. An organizer picks a real area and shares a link, and participants light up map cells by walking around it.
Forked 2026-06-09Last synced 2026-10-10No license declaredMaps and geospatialGitHub
A web app that generates a 3D map of real cities with building and road data, built with React Three Fiber. Maps can be exported as GLB files.
Forked 2026-05-09Last synced 2026-10-10License: MITMaps and geospatialGitHub