Click or drag to resize

ReprojectionService Class

This class represents map service adding re-projection to another one.
Inheritance Hierarchy
SystemObject
  Ptv.XServer.Controls.Map.Tools.ReprojectionReprojectionService

Namespace:  Ptv.XServer.Controls.Map.Tools.Reprojection
Assembly:  Ptv.XServer.Controls.Map (in Ptv.XServer.Controls.Map.dll) Version: 1.7.10.0
Syntax
public class ReprojectionService : IMapService<MapRectangle>

The ReprojectionService type exposes the following members.

Constructors
  NameDescription
Public methodReprojectionService
Creates and initializes an instance of ReprojectionService.
Top
Properties
  NameDescription
Public propertyCrs
Defines the CRS to be used when requesting map images.
Public propertyReprojectionServiceOptions
Accesses the options to be used by the map service.
Public propertyReprojector
Accesses the re-projector used by the map service.
Top
Methods
  NameDescription
Protected methodDetermineSourceSize
Determines the size of the source image. This method is only used when re-projection applies.
Protected methodDetermineSourceSizeByAmountOfPixels
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.
Public methodGetImageStream(MapRectangle, Size)
Loads a map image using the specified bounding box and size.
Protected methodGetImageStream(MapRectangle, Size, Boolean, Boolean)
Loads a map image using the specified bounding box and size.
Public methodGetInnerImageStream
Loads a source map image from the inner map service using the specified target bounding box and target size.
Protected methodGetTransformFunction
Top
Fields
  NameDescription
Protected fieldSourceMapService
the source map service delivering the map images to be re-projected
Protected fieldTargetToSourceTransformation
The coordinate transformation that transforms target (this.CRS) to source (mapService.CRS) points
Protected fieldStatic memberTransparentTile
In case the ReprojectionService is used to render tiles, prepare a transparent tile that can be re-used by RenderTransparentImage.
Protected fieldStatic memberTransparentWhite
Transparent white - the color used when creating default images
Top
Extension Methods
  NameDescription
Public Extension MethodToJson
Converts an object to a JSON string representation.
(Defined by JSONWriter.)
Top
See Also