Share via


MapIcon.Location Propiedad

Definición

Obtiene o establece la ubicación geográfica de MapIcon en MapControl. La ubicación es la ubicación geográfica en el MapControl en el que se coloca normalizedAnchorPoint del MapIcon .

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

Valor de propiedad

Ubicación geográfica de MapIcon en MapControl.

Comentarios

Si proporciona un Alititude y AltitudeReferenceSystem en vistas 3D, los elementos MapIcon agregados al MapControl terminan siendo colocados bajo tierra o flotando en el espacio.

Se aplica a

Consulte también