I am following the example in the documentation for an external MapZoomBar at the bottom of this page which allows me to move the MapZoomBar to the top right.
2 questions:
- How do I expand the slider by default? I want it to look like the old zoom slider on Google Maps. On a combobox I could set .IsDropDownOpen = true; But here?
- The default expand direction behaviour for the slider appears to be up. Because this Map is inside a dialog which does not occupy the full screen, this means that the MapZoomBar expands up out of the dialog. If I maximise the dialog, there is not enough room and so it expands down - which is nice. How do I make it expand down all the time? This question kind of covers it for a combobox.
XAML:
<
Grid
>
<
Telerik:RadMap
x:Name
=
"RadMap1"
ZoomLevel
=
"{Binding Path=ZoomLevel, Mode=TwoWay}"
Center
=
"{Binding Path=ViewCentroid, Mode=TwoWay}"
CommandBarVisibility
=
"Collapsed"
MiniMapExpanderVisibility
=
"Collapsed"
NavigationVisibility
=
"Collapsed"
ZoomBarPresetsVisibility
=
"Collapsed"
ZoomBarVisibility
=
"Collapsed"
ScaleVisibility
=
"Collapsed"
>
</
Telerik:RadMap
>
<
Telerik:MapZoomBar
MapControl
=
"{Binding ElementName=RadMap1}"
VerticalAlignment
=
"Top"
HorizontalAlignment
=
"Right"
Margin
=
"0 10 10 0"
/>
</
Grid
>