ArcGIS Runtime SDK for .NET Samples

Group layers

A scene with a group layer

Loading

Code

<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"
             xmlns:resources="clr-namespace:Forms.Resources;assembly=ArcGISRuntime"
             x:Class="ArcGISRuntimeXamarin.Samples.GroupLayers.GroupLayers">
    <RelativeLayout>
        <esriUI:SceneView x:Name="MySceneView" Style="{StaticResource SceneWithFormStyle}"
                          BindingContext="{x:Reference Name=ResponsiveFormContainer}" />
        <resources:ResponsiveFormContainer x:Name="ResponsiveFormContainer">
            <!-- View is being done mostly in code, not XAML, because of buggy listview behavior and no option to specify a maximum height. -->
            <StackLayout x:Name="LayersView" />
        </resources:ResponsiveFormContainer>
    </RelativeLayout>
</ContentPage>


In this topic
  1. Code