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)

Syntax

Public Property PedestrianFeaturesEnabled As Boolean
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.

Remarks

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.

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>

Version Information

Windows Phone OS

Supported in: 8.1, 8.0

See Also

Reference

Map Class

Microsoft.Phone.Maps.Controls Namespace

Other Resources

Maps and navigation for Windows Phone 8