querySourceFeatures method
Query features contained in the source with the specified sourceId
.
In contrast to queryRenderedFeatures, this returns all features in the source, regardless of whether they are currently rendered by the current style.
Note: On web, this will probably only work for GeoJson source, not for vector tiles
Implementation
Future<List> querySourceFeatures(
String sourceId, String? sourceLayerId, List<Object>? filter) async {
return _vietmapGLPlatform.querySourceFeatures(
sourceId, sourceLayerId, filter);
}