A source in Mapbox GL JS is a file or service that supplies data for a layer displayed in a map. The most common source types are vector, for vector tile sources, and geojson, for GeoJSON files or data constructed in the browser. Vector tile sources contain tile properties specifying the URL structure for requesting tiles; GeoJSON sources contain a data property that contains either the data itself or a URL. Other source types include raster, image, or video.
Related
Related terms
- Layer Mapbox