ArcGIS Runtime SDK for .NET Samples

Viewshed for camera

Visibility analysis in a scene view
Loading

Code

<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
             xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
             xmlns:esriUI="clr-namespace:Esri.ArcGISRuntime.Xamarin.Forms;assembly=Esri.ArcGISRuntime.Xamarin.Forms"
             x:Class="ArcGISRuntime.Samples.ViewshedCamera.ViewshedCamera">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="*" />
            <RowDefinition Height="Auto" />
        </Grid.RowDefinitions>
        <esriUI:SceneView x:Name="MySceneView" Grid.Row="0" />
        <Button x:Name="UpdateObserverButton"
                Text="Viewshed from Here"
                Clicked="UpdateObserverWithCamera"
                Grid.Row="1" />
    </Grid>
</ContentPage>


In this topic
  1. Code