MapServiceMinAlignment Property |
Defines the position of (MinX|MinY) in images returned by this service.
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 ContentAlignment MinAlignment { get; protected set; }
Public Property MinAlignment As ContentAlignment
Get
Protected Set
public:
property ContentAlignment MinAlignment {
ContentAlignment get ();
protected: void set (ContentAlignment value);
}
member MinAlignment : ContentAlignment with get, set
Property Value
Type:
ContentAlignmentRemarks
The alignment is a required parameter when resulting map images must be re-projected. Usually the alignment will
be ContentAlignment.BottomLeft, as many rectangles follow the rules "Left < Right" and "Top > Bottom".
ContentAlignment.BottomLeft is also the value returned by the default implementation and you usually do not need
to change that.
Unfortunately the alignment cannot be determined dynamically on the client side without knowing how services
actually map logical coordinates to pixels. Without services returning the actually rendered map rectangle in
their response (as PTV xMap Server e.g. does, as WMS services don't), this value must explicitly be configured
for re-projections to work properly.
See Also