Mapbox GL Custom WebGL Layer
Implement custom Mapbox GL layers with deterministic WebGL lifecycle, stable geometry generation, and precision-safe rendering. Follow the workflow, rules, and checklists below.
CustomLayerInterface Contract
A custom layer object must conform to the Mapbox CustomLayerInterface:
| Property / Method | Required | Description | |---|---|---| | id | ✅ | Unique layer identifier | | type | ✅ | Must be 'custom' | | renderingMode | ❌ | '2d' (default, no d
[Description truncada. Veja o README completo no GitHub.]