nyekimov

How to implement mapView.visibleArea().contains(graphic)?

Discussion created by nyekimov on May 23, 2017
Latest reply on May 23, 2017 by MDostal-esristaff

v10.2.5 had an ability to tell if the mapView contains a graphic:  mapView.visibleArea().contains(graphic.geometry.envelope.center). In v 100.0 there is no contains method for 

mapView.visibleArea which is AGSPolygon. It's easy to just take a polygon and start comparing xmin xmax ymin ymax, the caveat is to do it with respect to rotation angle. Any ideas? 

Outcomes