Share via


MapControl.Center Property

Definition

Gets or sets the geographic location where the map is centered.

public:
 property Geopoint ^ Center { Geopoint ^ get(); void set(Geopoint ^ value); };
Geopoint Center();

void Center(Geopoint value);
public Geopoint Center { get; set; }
var geopoint = mapControl.center;
mapControl.center = geopoint;
Public Property Center As Geopoint

Property Value

The geographic location where the map is centered. The default is null.

Applies to