API Reference
This reference documentation includes all classes, methods, properties, events, and types available in Mapbox GL JS. Use it to explore the API and find detailed information about how to work with maps, styles, layers, sources, and controls. All reference pages include a search input to quickly find reference items.
Each section of this reference describes different classes or objects as well as their properties, parameters, instance members, and associated events. Many sections also include inline code examples and related resources.
Was this page helpful?