Hi, I am trying to implement a shift drag zoom on my map. The map has several layers and I have bound the Center property of the map to my ViewModel as I use this to pan the map when selecting a feature on one of the layers through an external control, e.g. selecting a node from a list of nodes would then select the map shape and pan it into view. Now if I shift+drag to zoom to a rectangle, the map does zoom, but the center remains static. Any suggestion how to accomplish both use cases?
<
telerik:RadMap
x:Name
=
"radMap"
HorizontalAlignment
=
"Stretch"
VerticalAlignment
=
"Stretch"
MouseClickMode
=
"SelectItem"
MouseSelectionMode
=
"ZoomIn"
MouseWheelMode
=
"ZoomToPoint"
MinZoomLevel
=
"6"
MaxZoomLevel
=
"14"
ZoomLevel
=
"6"
Center
=
"{Binding MapCentre, Mode=TwoWay}"
GeoBoundsNW
=
"-21.8, 13.9"
GeoBoundsSE
=
"-35.0, 35.8"
UseDefaultLayout
=
"False"
>
Regards
Renier