Class LocationLineOfSight
LocationLineOfSight is an analysis object that generates a line of sight between observer and target point objects.
Implements
System.ComponentModel.INotifyPropertyChanged
  
      System.Object.Equals(System.Object)
    
    
      System.Object.Equals(System.Object, System.Object)
    
    
      System.Object.GetHashCode()
    
    
      System.Object.GetType()
    
    
      System.Object.MemberwiseClone()
    
    
      System.Object.ReferenceEquals(System.Object, System.Object)
    
    
  Namespace: Esri.ArcGISRuntime.UI.GeoAnalysis
Assembly: Esri.ArcGISRuntime.dll
Syntax
public sealed class LocationLineOfSight : LineOfSight, INotifyPropertyChangedRemarks
LocationLineOfSight renders a viewshed in a scene view based on an observer location and a target location, each defined using a MapPoint geometry.
Constructors
| Name | Description | 
|---|---|
| LocationLineOfSight() | Initializes a new instance of the LocationLineOfSight class. | 
| LocationLineOfSight(MapPoint, MapPoint) | Initializes a new instance of the LocationLineOfSight class. | 
Properties
| Name | Description | 
|---|---|
| ObserverLocation | Gets or sets the observer location of the Line-Of-Sight analysis. | 
| TargetLocation | Gets or sets the target location of the Line-Of-Sight analysis. | 
Applies to
| Target | Versions | 
|---|---|
| .NET Standard 2.0 | 100.3 - 100.15 | 
| .NET 6.0 | 100.13 - 100.15 | 
| .NET 6.0 Windows | 100.13 - 100.15 | 
| .NET Framework | 100.2.1 - 100.15 | 
| .NET 5 | 100.10 - 100.12 | 
| .NET Core 3.1 | 100.7 - 100.12 | 
| Xamarin.Android | 100.2.1 - 100.15 | 
| Xamarin.iOS | 100.2.1 - 100.15 | 
| UWP | 100.2.1 - 100.15 | 
Relevant samples
Line of sight (location): Perform a line of sight analysis between two points in real time.