PedestrianFeaturesEnabled Property

Map.PedestrianFeaturesEnabled Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Gets or sets a value that indicates whether pedestrian features such as public stairs are displayed on the Map.

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

public bool PedestrianFeaturesEnabled { get; set; }

Property Value

Type: System.Boolean
true if pedestrian features such as public stairs are displayed on the Map; otherwise, false.

Pedestrian features 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.

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:
© 2017 Microsoft