SceneLayerPolygonFilter constructor

SceneLayerPolygonFilter({
  1. required List<Polygon> polygons,
  2. required SceneLayerPolygonFilterSpatialRelationship spatialRelationship,
})

Creates a new SceneLayerPolygonFilter using a list of polygons and a spatial relationship to be applied to the ArcGISSceneLayer.

Parameters:

  • polygons — A list of polygons to be used for filtering features.
  • spatialRelationship — The spatial relationship to be applied to the polygons for filtering. It determines whether to include features within the polygons or exclude features from the polygons.