Class LocalFeatureService
The LocalFeatureService class represents a Feature Service hosted by the LocalServer.
Namespace: Esri.ArcGISRuntime.LocalServices
Assembly: Esri.ArcGISRuntime.LocalServices.dll
Syntax
public sealed class LocalFeatureService : LocalMapService
Remarks
LocalFeatureServices form the basis for feature editing in conjunction with an instance of the FeatureLayer class. The feature service is just a map service with the Feature Access capability enabled. This capability allows the map service to expose feature geometries and their symbols in a way that is easy for the API to use and update. Unlike with map services, which have an ExportMap function to draw the map, visualization of feature services works completely from queries. The server returns the queried features to the client, then the client does the work of drawing the features in the feature layer.
Constructors
Name | Description |
---|---|
LocalFeatureService(String) | Initializes a new instance of the LocalFeatureService class based on the provided ArcGIS map package path property. |
Properties
Name | Description |
---|---|
IsZDefaultsEnabled | Gets or sets a value indicating whether when creating new features, Z coordinate values will be set to the configured default value. |
MapServiceUrl | Gets the Url of this LocalFeatureService instance. |
Url | Gets the Url of this LocalFeatureService instance. |
ZDefault | Gets or sets the default value to set Z coordinates on new features. |
Methods
Name | Description |
---|---|
StartAsync() | Starts this LocalFeatureService instance on the LocalServer. The StartCompleted event is called when the service creation is complete. |
StartAsync(CancellationToken) | Starts this LocalFeatureService instance on the LocalServer. The StartCompleted event is called when the service creation is complete. |
ToString() | Returns a string representing the path of the map package on which the LocalFeatureService is based. |
Applies to
Target | Versions |
---|---|
.NET Windows | 100.13 - 200.6 |
.NET Framework | 100.0 - 200.6 |