ReprojectionService Class |
Namespace: Ptv.XServer.Controls.Map.Tools.Reprojection
The ReprojectionService type exposes the following members.
| Name | Description | |
|---|---|---|
| ReprojectionService |
Creates and initializes an instance of ReprojectionService.
|
| Name | Description | |
|---|---|---|
| Crs | Defines the CRS to be used when requesting map images. | |
| ReprojectionServiceOptions | Accesses the options to be used by the map service. | |
| Reprojector | Accesses the re-projector used by the map service. |
| Name | Description | |
|---|---|---|
| DetermineSourceSize |
Determines the size of the source image.
This method is only used when re-projection applies.
| |
| DetermineSourceSizeByAmountOfPixels |
Knowing the source bounding box and its aspect ratio, this helper determines
an image size given the an amount of pixels that the image should contain.
| |
| GetImageStream(MapRectangle, Size) | Loads a map image using the specified bounding box and size. | |
| GetImageStream(MapRectangle, Size, Boolean, Boolean) | Loads a map image using the specified bounding box and size. | |
| GetInnerImageStream |
Loads a source map image from the inner map service using the specified target bounding box and target size.
| |
| GetTransformFunction |
| Name | Description | |
|---|---|---|
| SourceMapService | the source map service delivering the map images to be re-projected | |
| TargetToSourceTransformation | The coordinate transformation that transforms target (this.CRS) to source (mapService.CRS) points | |
| TransparentTile | In case the ReprojectionService is used to render tiles, prepare a transparent tile that can be re-used by RenderTransparentImage. | |
| TransparentWhite | Transparent white - the color used when creating default images |
| Name | Description | |
|---|---|---|
| ToJson | Converts an object to a JSON string representation. (Defined by JSONWriter.) |