Constructor ArcGISSceneLayer
ArcGISSceneLayer(Uri)
Initializes a new instance of the ArcGISSceneLayer class with the specified URI.
Declaration
public ArcGISSceneLayer(Uri source)
Parameters
Type | Name | Description |
---|---|---|
System.Uri | source | The endpoint of the scene service layer or the path to a scene layer package. |
Remarks
Use this constructor to create a ArcGISSceneLayer. Once the layer is created you will have to set the URI by using the Source property. This method exists to support XAML creation of a ArcGISSceneLayer.
It is recommended that you use the ArcGISSceneLayer(Uri) constructor for creating a layer with an associated URI.
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException |
|
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.6 |
.NET | 100.13 - 200.6 |
.NET Windows | 100.13 - 200.6 |
.NET Android | 200.2 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.0 - 200.6 |
Xamarin.Android | 100.0 - 100.14 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 200.6 |
Relevant samples
Group layers: Group a collection of layers together and toggle their visibility as a group.
Scene layer selection: Identify features in a scene to select.
ArcGISSceneLayer(Item)
Initializes a new instance of the ArcGISSceneLayer class from the specified PortalItem.
Declaration
public ArcGISSceneLayer(Item item)
Parameters
Type | Name | Description |
---|---|---|
Item | item | The PortalItem from which to create the layer. |
Remarks
The PortalItem will be accessible through the Item property.
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.6 |
.NET | 100.13 - 200.6 |
.NET Windows | 100.13 - 200.6 |
.NET Android | 200.0 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.0 - 200.6 |
Xamarin.Android | 100.0 - 100.15 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 200.6 |