RoadMode Class
This documentation is no longer available on MSDN, however it is available as a CHM download.
Represents the Road map mode.
Namespace: Microsoft.Maps.MapControl
Assembly: Microsoft.Maps.MapControl (in Microsoft.Maps.MapControl.dll)
Usage
Syntax
'Declaration
Public Class RoadMode
Inherits MercatorMode
public class RoadMode : MercatorMode
public ref class RoadMode : public MercatorMode
public class RoadMode extends MercatorMode
public class RoadMode extends MercatorMode
Example
<UserControl x:Class="SilverlightTest1.ShowMultipleMaps"
xmlns="https://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="https://schemas.microsoft.com/winfx/2006/xaml"
xmlns:m="clr-namespace:Microsoft.Maps.MapControl;assembly=Microsoft.Maps.MapControl"
Width="1024" Height="768">
<Grid x:Name="LayoutRoot" Background="White">
<Grid.ColumnDefinitions>
<ColumnDefinition />
<ColumnDefinition />
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition />
<RowDefinition />
</Grid.RowDefinitions>
<m:Map Mode="Road" CredentialsProvider="Your Key" Grid.Column="0" Grid.Row="0" />
<m:Map Mode="Aerial" CredentialsProvider="Your Key" Grid.Column="1" Grid.Row="0" />
<m:Map Mode="AerialWithLabels" CredentialsProvider="Your Key" Grid.Column="0" Grid.Row="1" />
</Grid>
</UserControl>
Inheritance Hierarchy
System.Object
Microsoft.Maps.MapControl.Core.MapMode
Microsoft.Maps.MapControl.Core.FlatMapMode
Microsoft.Maps.MapControl.Core.MercatorMode
Microsoft.Maps.MapControl.RoadMode
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.
Target Platforms
Change History
See Also
Reference
RoadMode Members
Microsoft.Maps.MapControl Namespace