sourceLayer property

String? sourceLayer
getter/setter pair

Source layer id for a queried feature. May be null if source does not support layers, e.g., 'geojson' source, or when data provided by the source is not layered.

Implementation

String? sourceLayer;