Gets or sets the centre point of the map in mapping coordinates (as used by the shapefiles)

Namespace:  EGIS.Controls
Assembly:  EGIS.Controls (in EGIS.Controls.dll)

Syntax

Visual Basic
<ObsoleteAttribute("Superceded by CentrePoint2D to use double-precision floating-point coordinates")> _
Public Property CentrePoint As PointF
	Get
	Set
C#
[ObsoleteAttribute("Superceded by CentrePoint2D to use double-precision floating-point coordinates")]
public PointF CentrePoint { get; set; }
Visual C++
[ObsoleteAttribute(L"Superceded by CentrePoint2D to use double-precision floating-point coordinates")]
public:
property PointF CentrePoint {
	PointF get ();
	void set (PointF value);
}
JavaScript
function get_centrePoint();
function set_centrePoint(value);

Remarks

Changing the CentrePoint can be used to center the map on a new location without changing the map scale

The ZoomLevel, CentrePoint and ClientSize of the SFMap determine the location and visible area of the rendered map. The map will be rendered centered at the CentrePoint and scaled according to the ZoomLevel.

This property should no longer be used. Use CentrePoint2D instead, which uses double-precision floating-point coordinates

See Also