Show / Hide Table of Contents

Class GraphicsOverlayFenceParameters

Geotrigger fence parameters data created from a GraphicsOverlay.

Inheritance
Object
FenceParameters
GraphicsOverlayFenceParameters
FenceParameters.BufferDistance
FenceParameters.CreateFromGeoElement(GeoElement, Double)
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
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 graphicsOverlay.

GraphicsOverlayFenceParameters(GraphicsOverlay, Double)

Initializes a new instance of the GraphicsOverlayFenceParameters class using all of the graphics in the graphicsOverlay buffered by the bufferDistance.

Properties

Name Description
GraphicsOverlay

Gets the GraphicsOverlay to use in the GraphicFenceParameters.

Applies to

TargetVersions
.NET Standard 2.0100.12 - 100.14
.NET 6.0100.13 - 100.14
.NET 6.0 Windows100.13 - 100.14
.NET Framework100.12 - 100.14
.NET 5100.12
.NET Core 3.1100.12
Xamarin.Android100.12 - 100.14
Xamarin.iOS100.12 - 100.14
UWP100.12 - 100.14
In This Article
Back to top Copyright © 2021 Esri.