A component that adds a layer to a map.
layer AnyLayerThe Mapbox Layer object. Currently, the layer.id is copied to layer.source so that the source and layer have the same id.
source GeoJSONSourceRawA raw GeoJSON source object. Currently, only raw GeoJSON is supported as a source.