Show / Hide Table of Contents

Constructor LocationLineOfSight

LocationLineOfSight()

Initializes a new instance of the LocationLineOfSight class.

Declaration
[Obsolete("Use parameterized constructors instead")]
public LocationLineOfSight()

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.3 - 200.8
.NET100.13 - 200.8
.NET Windows100.13 - 200.8
.NET Android200.0 - 200.8
.NET iOS200.0 - 200.8
.NET Framework100.2.1 - 200.8
Xamarin.Android100.2.1 - 100.15
Xamarin.iOS100.2.1 - 100.15
UWP100.2.1 - 200.8

LocationLineOfSight(MapPoint, MapPoint)

Initializes a new instance of the LocationLineOfSight class.

Declaration
public LocationLineOfSight(MapPoint observerLocation, MapPoint targetLocation)
Parameters
Type Name Description
MapPoint observerLocation

A point to use as the location of the observer

MapPoint targetLocation

A point to use as the location of the target

Remarks

The Line-Of-Sight analysis is rendered between an observer location and a target location displaying visibility between the two

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.3 - 200.8
.NET100.13 - 200.8
.NET Windows100.13 - 200.8
.NET Android200.0 - 200.8
.NET iOS200.0 - 200.8
.NET Framework100.2.1 - 200.8
Xamarin.Android100.2.1 - 100.15
Xamarin.iOS100.2.1 - 100.15
UWP100.2.1 - 200.8
Relevant samples
Line of sight (location): Perform a line of sight analysis between two points in real time.
In This Article
Back to top Copyright © 2022 Esri.