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

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

Syntax

Visual Basic
<BindableAttribute(True)> _
Public Overridable Property CenterPoint As PointD
	Get
	Set
C#
[BindableAttribute(true)]
public virtual PointD CenterPoint { get; set; }
Visual C++
[BindableAttribute(true)]
public:
virtual property PointD CenterPoint {
	PointD get ();
	void set (PointD value);
}
JavaScript
function get_centerPoint();
function set_centerPoint(value);

Remarks

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

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

See Also