File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
arcgis_map_sdk_web/lib/src Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -515,8 +515,7 @@ class LayerController {
515
515
final List <String > graphicIdsInView = < String > [];
516
516
view.graphics.forEach (
517
517
allowInterop ((JsGraphic graphic, _, __) {
518
- final bool isInView =
519
- extent.intersects (graphic.geometry.extent) ?? false ;
518
+ final bool isInView = extent.intersects (graphic.geometry.extent);
520
519
if (isInView) {
521
520
graphicIdsInView.add (graphic.attributes.id);
522
521
}
@@ -530,8 +529,7 @@ class LayerController {
530
529
if (layer is JsGraphicsLayer ) {
531
530
layer.graphics? .forEach (
532
531
allowInterop ((JsGraphic graphic, _, __) {
533
- final bool isInView =
534
- extent.intersects (graphic.geometry.extent) ?? false ;
532
+ final bool isInView = extent.intersects (graphic.geometry.extent);
535
533
if (isInView) {
536
534
graphicIdsInView.add (graphic.attributes.id);
537
535
}
You can’t perform that action at this time.
0 commit comments