Add a point scene layer

View inAndroidFormsUWPWPFWinUIiOSView on GitHub

View a point scene layer from a scene service.

Image of a point scene layer

Use case

Point scene layers can efficiently display large amounts of point features. While point cloud layers can only display simple symbols, point scene layers can display any type of billboard symbol or even 3D models, as long as the location of the symbol can be described by a point. Points are cached and automatically thinned when zoomed out to improve performance.

How to use the sample

Pan around the scene and zoom in. Notice how many thousands of additional features appear at each successive zoom scale.

How it works

  1. Create a scene.
  2. Create an ArcGISSceneLayer with the URL to a point scene layer service.
  3. Add the layer to the scene's operational layers collection.

Relevant API

  • ArcGISSceneLayer

About the data

This dataset contains more than 40,000 points representing world airports. Points are retrieved on demand by the scene layer as the user navigates the scene.

Additional information

Point scene layers can also be retrieved from scene layer packages (.slpk) and mobile scene packages (.mspk).

Tags

3D, layers, point scene layer

Sample Code

AddPointSceneLayer.xamlAddPointSceneLayer.xamlAddPointSceneLayer.xaml.cs
Use dark colors for code blocksCopy
1
2
3
4
5
6
7
8
<UserControl x:Class="ArcGISRuntime.WinUI.Samples.AddPointSceneLayer.AddPointSceneLayer"
             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" />
    </Grid>
</UserControl>

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.