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