Click or drag to resize

SelectTileMatrixDelegate Delegate

Defines a function that determines the best matching tile matrix for rendering a map image with the given logical bounds and image size. This delegate is used by WmtsMapService to decouple the service from the full tile matrix set. Being used by WmtsMapService, the CRS of the bounding box passed in is the very same as the CRS that has been passed to the WmtsMapService during initialization. To be quite clear in the logic to implement, the CRS will not be repeated as a parameter in the call to the delegate.

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 delegate ITileMatrix SelectTileMatrixDelegate(
	IBoundingBox boundingBox,
	Size size
)

Parameters

boundingBox
Type: Ptv.XServer.Controls.Map.Tools.ReprojectionIBoundingBox
The logical bounds of the map image to be rendered.
size
Type: System.DrawingSize
The image size of the map to be rendered.

Return Value

Type: ITileMatrix
The best matching tile matrix represented by an implementation of ITileMatrix.
See Also