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
Target | Versions |
---|---|
.NET Standard 2.0 | 100.5 - 200.5 |
.NET | 100.13 - 200.5 |
.NET Windows | 100.13 - 200.5 |
.NET Android | 200.0 - 200.5 |
.NET iOS | 200.0 - 200.5 |
.NET Framework | 100.5 - 200.5 |
Xamarin.Android | 100.5 - 100.15 |
Xamarin.iOS | 100.5 - 100.15 |
UWP | 100.5 - 200.5 |