Skip to main content

source_layer

Function source_layer 

Source
pub fn source_layer(layer: &Value) -> &str
Expand description

The tile layer a style layer reads: its source-layer, or the GeoJSON tile layer when it has none (layer.sourceLayer || '_geojsonTileLayer').