Skip to content

Commit

Permalink
LayerId to match zoo example for mapbox base map (flutter-mapbox-gl#1186
Browse files Browse the repository at this point in the history
)

Co-authored-by: Aaron S Kennedy <[email protected]>
  • Loading branch information
aardrop and aardrop authored Oct 26, 2022
1 parent d220d07 commit c6c4f5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example/lib/map_ui.dart
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ class MapUiBodyState extends State<MapUiBody> {
"Map click: ${point.x},${point.y} ${latLng.latitude}/${latLng.longitude}");
print("Filter $_featureQueryFilter");
List features = await mapController!
.queryRenderedFeatures(point, [], _featureQueryFilter);
.queryRenderedFeatures(point, ["landuse"], _featureQueryFilter);
print('# features: ${features.length}');
_clearFill();
if (features.isEmpty && _featureQueryFilter != null) {
Expand Down

0 comments on commit c6c4f5a

Please sign in to comment.