Class LocationViewshed
LocationViewshed is an analysis object that renders a viewshed for a specified point location.
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 LocationViewshed : Viewshed, INotifyPropertyChangedRemarks
LocationViewshed determines visible and non-visible areas in a GeoView for an observer defined with a map location.
Constructors
| Name | Description | 
|---|---|
| LocationViewshed(MapPoint, Double, Double, Double, Double, Double, Double) | Initializes a new instance of the LocationViewshed class whose observer is defined using a point location. | 
| LocationViewshed(Camera, Double, Double) | Initializes a new instance of the LocationViewshed class. | 
Properties
| Name | Description | 
|---|---|
| Heading | Gets or sets the observer's heading. | 
| Location | Gets or sets the observer location of the viewshed. | 
| Pitch | Gets or sets the pitch of the observer's field of vision. | 
Methods
| Name | Description | 
|---|---|
| UpdateFromCamera(Camera) | Updates the frustum of the viewshed using the properties of the supplied Camera. | 
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
Viewshed (location): Perform a viewshed analysis from a defined vantage point.