If I click on the bottom tool bar of the control, outside of the navigation controls, the map moves as if I click on the map!
Regards
1 Answer, 1 is accepted
0
Dilyan Traykov
Telerik team
answered on 15 Mar 2018, 10:19 AM
Hello Patrick,
This does seem to be an issue at our end and I have thus logged a new bug report in our feedback portal regarding it. As a thank you for reporting this, I've awarded you with some Telerik points.
For the time being, you can handle the PreviewMouseDown event of the RadMap to prevent this movement in a similar fashion:
var source = e.OriginalSource as FrameworkElement;
var grid = source as Grid;
var mapScale = source.ParentOfType<MapScale>();
var locator = source.ParentOfType<MapMouseLocationIndicator>();
if ((grid != null && grid.FindChildByType<MapScale>() != null) ||
mapScale != null ||
locator != null)
{
e.Handled = true;
}
}
Please let me know whether such an approach would work for you.
Regards,
Dilyan Traykov
Progress Telerik
Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.