Constructor LocationLineOfSight
LocationLineOfSight()
Initializes a new instance of the LocationLineOfSight class.
Declaration
[Obsolete("Use parameterized constructors instead")]
public LocationLineOfSight()
Applies to
Platforms and versions
| Target | Versions |
|---|---|
| .NET Standard 2.0 | 100.3 - 200.8 |
| .NET | 100.13 - 200.8 |
| .NET Windows | 100.13 - 200.8 |
| .NET Android | 200.0 - 200.8 |
| .NET iOS | 200.0 - 200.8 |
| .NET Framework | 100.2.1 - 200.8 |
| Xamarin.Android | 100.2.1 - 100.15 |
| Xamarin.iOS | 100.2.1 - 100.15 |
| UWP | 100.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
| Target | Versions |
|---|---|
| .NET Standard 2.0 | 100.3 - 200.8 |
| .NET | 100.13 - 200.8 |
| .NET Windows | 100.13 - 200.8 |
| .NET Android | 200.0 - 200.8 |
| .NET iOS | 200.0 - 200.8 |
| .NET Framework | 100.2.1 - 200.8 |
| Xamarin.Android | 100.2.1 - 100.15 |
| Xamarin.iOS | 100.2.1 - 100.15 |
| UWP | 100.2.1 - 200.8 |
Relevant samples
Line of sight (location): Perform a line of sight analysis between two points in real time.