Dela via


MapCamera.Location Property

Definition

Gets or sets the location of the camera in the map.

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

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

Property Value

The location of the camera in the map.

Remarks

The following image demonstrates the location of the map's camera relative to the scene. This property corresponds to the MapCamera location.

The relationship between MapCamera location and MapScene location relative to the map.

Applies to