Class GraphicsOverlayFenceParameters
Geotrigger fence parameters data created from a GraphicsOverlay.
Namespace: Esri.ArcGISRuntime.Geotriggers
Assembly: Esri.ArcGISRuntime.dll
Syntax
public sealed class GraphicsOverlayFenceParameters : FenceParameters
Remarks
The GraphicsOverlay used to create a GraphicsOverlayFenceParameters provides a dynamic set of graphics that define targets for a FenceGeotrigger condition. For example, if the condition is "notify me when my position comes within 50 meters of one of my target areas", "my target areas" are the graphics in the overlay. Changes to the GraphicsOverlay will be reflected in the fences tracked by the Geotrigger.
A GraphicsOverlayFenceParameters allows you to track all of the graphics displayed on the GeoView in a GraphicsOverlay. This allows you to track new target areas as they are added to the view and to stop tracking areas that are removed. If you wish to track a subset of the graphics displayed in a GraphicsOverlay, or graphics which are not displayed in a GeoView, use a GraphicFenceParameters.
The graphics can have point, line, or polygon geometry. A BufferDistance must be supplied for points or lines.
Constructors
Name | Description |
---|---|
GraphicsOverlayFenceParameters(GraphicsOverlay) | Initializes a new instance of the GraphicsOverlayFenceParameters class using all of the
graphics in the |
GraphicsOverlayFenceParameters(GraphicsOverlay, Double) | Initializes a new instance of the GraphicsOverlayFenceParameters class using all of the
graphics in the |
Properties
Name | Description |
---|---|
GraphicsOverlay | Gets the GraphicsOverlay to use in the GraphicFenceParameters. |
Applies to
Target | Versions |
---|---|
.NET Standard 2.0 | 100.12 - 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.12 - 200.5 |
Xamarin.Android | 100.12 - 100.15 |
Xamarin.iOS | 100.12 - 100.15 |
UWP | 100.12 - 200.5 |