This is a migrated thread and some comments may be shown as answers.

Navigation Bar Customization

1 Answer 66 Views
Map
This is a migrated thread and some comments may be shown as answers.
Vidyadhar
Top achievements
Rank 1
Vidyadhar asked on 11 May 2012, 09:59 PM
Hi,

Am trying to move the position of the Navigation bar on the Map. I have set the NavigationVisibility="Collapsed" on the Radmap and using Teerik's MapNavigation control instead binding its MapControl property to my RadMap as follows:
<telerik:MapNavigation MapControl="{Binding ElementName=RadMap1}" VerticalAlignment="Bottom" HorizontalAlignment="Left" />.

The issue I have is, when I click on the Center button of the Navigation bar, it doesn't hide the buttons surrounding it, as it is in the Default RadMap layout.
So, I'd like to know if
There is a way I can use the default template used in Radmap's Navigation bar for the Center button?
Or if I can handle the click event on the Center button, how can I show/hide the surrounding buttons. How to access those four surrounding buttons in code.

Thanks in advance,
Viddy.

1 Answer, 1 is accepted

Sort by
0
Vidyadhar
Top achievements
Rank 1
answered on 15 May 2012, 09:39 PM
OK, I got that figured out. Was able to achieve what i need, using the ToggleVisibility() method in the MapNavigation class.

Thanks,
Viddy.
Tags
Map
Asked by
Vidyadhar
Top achievements
Rank 1
Answers by
Vidyadhar
Top achievements
Rank 1
Share this question
or