WmtsMapServiceExtensions.ApproximateBoundingBox 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
Syntaxpublic 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.Generic.IEnumerable<ITileMatrix>
Tile matrix set to calculate the bounding box for. - sourceCrs
- Type: System.String
The CRS of the tile matrix set. - targetCrs
- Type: System.String
The CRS of the bounding box to return. - nSupportingPoints
- Type: System.Int32
Number of supporting points to use. - resizeFactor
- Type: System.Double
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
IEnumerable<ITileMatrix>. 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).
RemarksRefer to MapServiceExtensions.ApproximateBoundingBox for further documentation.
See Also