Dela via


MapControl.LandmarksVisible Property

Definition

Gets or sets a value that indicates whether 3D buildings are displayed on the map.

public:
 property bool LandmarksVisible { bool get(); void set(bool value); };
bool LandmarksVisible();

void LandmarksVisible(bool value);
public bool LandmarksVisible { get; set; }
var boolean = mapControl.landmarksVisible;
mapControl.landmarksVisible = boolean;
Public Property LandmarksVisible As Boolean
<!-- xmlns:Maps="using:Windows.UI.Xaml.Controls.Maps" -->

<Maps:MapControl LandmarksVisible="landmarksVisible"/>
- or -
<Maps:MapControl>
    <Maps:MapControl.LandmarksVisible>landmarksVisible</Maps:MapControl.LandmarksVisible>
</Maps:MapControl>

Property Value

Boolean

bool

true if 3D buildings are displayed on the map; otherwise, false.

Applies to

See also