ExploratoryGeoElementLineOfSight constructor

ExploratoryGeoElementLineOfSight({
  1. required GeoElement observerGeoElement,
  2. required GeoElement targetGeoElement,
})

Creates an ExploratoryLineOfSight analysis object that defines an observer and a target using ArcGISPoint GeoElement objects.

Renders a line between the observer and target with distinct colors representing visible and obstructed segments. Supported GeoElement types are Graphic, Feature, and DynamicEntity.

Parameters:

  • observerGeoElement — A GeoElement that defines the observer.
  • targetGeoElement — A GeoElement that defines the target.