Show / Hide Table of Contents

Property PreferredSpatialReference

PreferredSpatialReference

Gets or sets the preferred spatial reference for the table.

Declaration
public SpatialReference PreferredSpatialReference { get; set; }
Property Value
Type Description
SpatialReference

Spatial Reference

Remarks

If the service does not provide a preferred spatial reference, or you have not set it explicitly, then the table will fail to load. The preferred spatial reference cannot be changed once the table is loaded.

Set the preferred spatial reference to match the map or scene's spatial reference to avoid the automatic reprojection of features.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.5 - 200.7
.NET100.13 - 200.7
.NET Windows100.13 - 200.7
.NET Android200.0 - 200.7
.NET iOS200.0 - 200.7
.NET Framework100.5 - 200.7
Xamarin.Android100.5 - 100.15
Xamarin.iOS100.5 - 100.15
UWP100.5 - 200.7
In This Article
Back to top Copyright © 2022 Esri.