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 {
515515 final List <String > graphicIdsInView = < String > [];
516516 view.graphics.forEach (
517517 allowInterop ((JsGraphic graphic, _, __) {
518- final bool isInView =
519- extent.intersects (graphic.geometry.extent) ?? false ;
518+ final bool isInView = extent.intersects (graphic.geometry.extent);
520519 if (isInView) {
521520 graphicIdsInView.add (graphic.attributes.id);
522521 }
@@ -530,8 +529,7 @@ class LayerController {
530529 if (layer is JsGraphicsLayer ) {
531530 layer.graphics? .forEach (
532531 allowInterop ((JsGraphic graphic, _, __) {
533- final bool isInView =
534- extent.intersects (graphic.geometry.extent) ?? false ;
532+ final bool isInView = extent.intersects (graphic.geometry.extent);
535533 if (isInView) {
536534 graphicIdsInView.add (graphic.attributes.id);
537535 }
You can’t perform that action at this time.
0 commit comments