ArcGIS Runtime SDK for .NET Samples

Viewshed for camera

Visibility analysis in a scene view
Loading

Code

<UserControl
    x:Class="ArcGISRuntime.UWP.Samples.ViewshedCamera.ViewshedCamera"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:esriUI="using:Esri.ArcGISRuntime.UI.Controls">
    <Grid>
        <esriUI:SceneView x:Name="MySceneView" />
        <Border BorderBrush="Black" BorderThickness="1" Background="White"
                HorizontalAlignment="Right" VerticalAlignment="Top"
                Margin="30" Padding="20" Width="375">
            <Button Content="Viewshed from here"
                    HorizontalAlignment="Stretch"
                    Click="UpdateObserverWithCamera" />
        </Border>
    </Grid>
</UserControl>


In this topic
  1. Code