Windows Dev Center

Map.LandmarksEnabled Property

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

Namespace:  Microsoft.Phone.Maps.Controls
Assembly:  Microsoft.Phone.Maps (in Microsoft.Phone.Maps.dll)

public bool LandmarksEnabled { get; set; }

Property Value

Type: System.Boolean
true if 3D buildings are displayed on the Map; otherwise, false.

3D buildings are visible on the map only when the ZoomLevel property is set to 16 or higher.

The following illustration displays a map with both 3D buildings and pedestrian features such as public stairs.

Landmarks and Pedestrian Features

The following code example shows how to set the PedestrianFeaturesEnabled property and the LandmarksEnabled property.


<!--ContentPanel - place additional content here-->
        <Grid x:Name="ContentPanel" Grid.Row="1" Margin="12,0,12,0">
            <maps:Map Center="47.6097, -122.3331" ZoomLevel="16" LandmarksEnabled="true" PedestrianFeaturesEnabled="true"/>
        </Grid>

Windows Phone OS

Supported in: 8.1, 8.0

Show:
© 2015 Microsoft