Mapbox GL JS is a WebGL map rendering engine and interactive web map framework used to render vector tiles, raster imagery, and 3D terrain in the browser. It functions as a vector tile map library and geospatial data visualization tool, employing GPU-accelerated shaders to transform geospatial data into interactive maps.
The project distinguishes itself through the integration of custom WebGL layers directly into the rendering pipeline and the use of data-driven expressions to map feature properties to visual attributes. It supports specialized data loading via PMTiles and provides offline map management through local packs and databases.
The engine covers a broad range of capabilities, including 3D terrain and building rendering with lighting and shadows, real-time user location tracking, and programmatic camera animations. It provides spatial querying for feature retrieval, dynamic filtering, and a UI system for HTML markers and information popups.
The library includes build configurations for generating bundles that satisfy Content Security Policy restrictions for web workers.