This is a migrated thread and some comments may be shown as answers.
Navigation Bar Settings
1 Answer 42 Views
Map
This is a migrated thread and some comments may be shown as answers.
lmginn
Top achievements
Rank 1
lmginn asked on 09 Jul 2010, 07:38 PM

Hello,

Is there anyway of changing the navigation bar's appearance, location or style? For example is there a why of using the Bing maps navigation control instead of the radmap navigation control?

Regards,
LM Ginn

1 Answer, 1 is accepted

Sort by
0
Andrey
Telerik team
answered on 12 Jul 2010, 09:28 AM
Hello lmginn,

All map UI controls are the standard Silverlight controls. So they can be styled and template using standard Silverlight approaches. You can turn off default RadMap UI by setting the UseDefaultLayout property to false. Then you can add UI controls separately into your page anywhere (even outside the map region). For example:

<Grid>
    <telerik:RadMap x:Name="radMap" 
            Center="42,-122"
            ZoomLevel="6"
            UseDefaultLayout="False">
    </telerik:RadMap>
  
    <StackPanel VerticalAlignment="Top"
        HorizontalAlignment="Left">
        <telerik:MapNavigation Name="navigation" />
        <telerik:MapZoomBar Name="zoombar" />
    </StackPanel>
</Grid>

public MainPage()
{
    InitializeComponent();
  
    this.navigation.MapControl = this.radMap;
    this.zoombar.MapControl = this.radMap;
}

You can't use Bing maps navigation control instead of the radmap navigation control.

Greetings,
Andrey Murzov
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Map
Asked by
lmginn
Top achievements
Rank 1
Answers by
Andrey
Telerik team
Share this question
or