setHiddenFeatures method

Future<void> setHiddenFeatures(
  1. FutureOr<List<MPFeatureType>> features
)

Set a list of features to be hidden from the map.

features the features to be hidden

Setting a new list will override any existing list. Setting null will make all features visible.

Implementation

Future<void> setHiddenFeatures(FutureOr<List<MPFeatureType>> features) async {
  return MapcontrolPlatform.instance.setHiddenFeatures(await features);
}