Share via


MapIcon.Location Property

Definition

Gets or sets the geographic location of the icon on the MapControl.

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

void Location(Geopoint value);
public Geopoint Location { get; set; }
var geopoint = mapIcon.location;
mapIcon.location = geopoint;
Public Property Location As Geopoint

Property Value

The geographic location of the icon on the MapControl. The default is null.

Applies to