import LineOfSightTarget from "@arcgis/core/widgets/LineOfSight/LineOfSightTarget.js";const LineOfSightTarget = await $arcgis.import("@arcgis/core/widgets/LineOfSight/LineOfSightTarget.js");- Inheritance:
- LineOfSightTarget→
Accessor
- Since
- ArcGIS Maps SDK for JavaScript 4.14
This class represents a target point for a LineOfSight analysis. The location represents the Point the observer is looking at, while visible indicates whether the line between the observer and the target intersects 3D graphics, integrated mesh or the ground. If it intersects 3D graphics, then the intersectedGraphic property will point to the first intersected graphic. The intersectedLocation corresponds to the first intersection with a 3D graphic, integrated mesh or the ground.
- See also
Constructors
Constructor
Constructor
Parameters
| Parameter | Type | Description | Required |
|---|---|---|---|
| properties | | |
See the properties table for a list of all the
properties that may be passed into the constructor.
Properties
Any properties can be set, retrieved or listened to. See the
Watch for changes
topic.