WmtsMapServiceExtensionsApproximateBoundingBox Method |
Utility extension that determines the bounding box for a tile matrix set based on MapServiceExtensions.ApproximateBoundingBox.
Namespace:
Ptv.XServer.Controls.Map.Layers.WmtsLayer
Assembly:
Ptv.XServer.Controls.Map (in Ptv.XServer.Controls.Map.dll) Version: 1.7.10.0
Syntax public static IBoundingBox ApproximateBoundingBox(
this IEnumerable<ITileMatrix> matrixSet,
string sourceCrs,
string targetCrs,
int nSupportingPoints,
double resizeFactor
)
<ExtensionAttribute>
Public Shared Function ApproximateBoundingBox (
matrixSet As IEnumerable(Of ITileMatrix),
sourceCrs As String,
targetCrs As String,
nSupportingPoints As Integer,
resizeFactor As Double
) As IBoundingBox
public:
[ExtensionAttribute]
static IBoundingBox^ ApproximateBoundingBox(
IEnumerable<ITileMatrix^>^ matrixSet,
String^ sourceCrs,
String^ targetCrs,
int nSupportingPoints,
double resizeFactor
)
[<ExtensionAttribute>]
static member ApproximateBoundingBox :
matrixSet : IEnumerable<ITileMatrix> *
sourceCrs : string *
targetCrs : string *
nSupportingPoints : int *
resizeFactor : float -> IBoundingBox
Parameters
- matrixSet
- Type: System.Collections.GenericIEnumerableITileMatrix
Tile matrix set to calculate the bounding box for. - sourceCrs
- Type: SystemString
The CRS of the tile matrix set. - targetCrs
- Type: SystemString
The CRS of the bounding box to return. - nSupportingPoints
- Type: SystemInt32
Number of supporting points to use. - resizeFactor
- Type: SystemDouble
An additional factor for resizing the resulting bounding box to be on the safe side.
Return Value
Type:
IBoundingBoxBounding box.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IEnumerableITileMatrix. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
Remarks Refer to MapServiceExtensions.ApproximateBoundingBox for further documentation.
See Also