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 - 100.15 |
.NET 6.0 | 100.13 - 100.15 |
.NET 6.0 Windows | 100.13 - 100.15 |
.NET Framework | 100.12 - 100.15 |
.NET 5 | 100.12 |
.NET Core 3.1 | 100.12 |
Xamarin.Android | 100.12 - 100.15 |
Xamarin.iOS | 100.12 - 100.15 |
UWP | 100.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
Target | Versions |
---|---|
.NET Standard 2.0 | 100.12 - 100.15 |
.NET 6.0 | 100.13 - 100.15 |
.NET 6.0 Windows | 100.13 - 100.15 |
.NET Framework | 100.12 - 100.15 |
.NET 5 | 100.12 |
.NET Core 3.1 | 100.12 |
Xamarin.Android | 100.12 - 100.15 |
Xamarin.iOS | 100.12 - 100.15 |
UWP | 100.12 - 100.15 |