Show / Hide Table of Contents

Constructor GraphicsOverlayFenceParameters

GraphicsOverlayFenceParameters(GraphicsOverlay)

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

Declaration
public GraphicsOverlayFenceParameters(GraphicsOverlay graphicsOverlay)
Parameters
Type Name Description
GraphicsOverlay graphicsOverlay

The GraphicsOverlay, to use as the source of graphics for the GraphicsOverlayFenceParameters.

Remarks

Note that the GraphicsOverlayFenceParameters will respect any changes made to the supplied graphics overlay - for example, if a Graphic is removed or added to the original GraphicsOverlay, it will be added or removed as a fence.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.12 - 100.15
.NET 6.0100.13 - 100.15
.NET 6.0 Windows100.13 - 100.15
.NET Framework100.12 - 100.15
.NET 5100.12
.NET Core 3.1100.12
Xamarin.Android100.12 - 100.15
Xamarin.iOS100.12 - 100.15
UWP100.12 - 100.15

GraphicsOverlayFenceParameters(GraphicsOverlay, Double)

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

Declaration
public GraphicsOverlayFenceParameters(GraphicsOverlay graphicsOverlay, double bufferDistance)
Parameters
Type Name Description
GraphicsOverlay graphicsOverlay

The GraphicsOverlay, to use as the source of graphics for the GraphicsOverlayFenceParameters.

Double bufferDistance

A buffer distance in meters to apply to the graphics when checking if a Geotrigger condition is met.

Remarks

Note that the GraphicsOverlayFenceParameters will respect any changes made to the supplied graphics overlay - for example, if a Graphic is removed or added to the original GraphicsOverlay, it will be added or removed as a fence.

Applies to

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