Lock map but keep pushpins available
I have a bing map in my application which users can lock using the following function:
private void btnLock_Checked(object sender, RoutedEventArgs e) { if (btnLock == null || btnLock.IsChecked == null) { return; } map.IsHitTestVisible = !btnLock.IsChecked.Value; } Now, when i have pushpins on the map, i want the users to be able to click on them still, but that's not possible when the map is locked. How do i prevent the users from dragging the map but keep them enabled to click the pushpins?
Answers & Comments...
No comments:
Post a Comment
Send us your comment related to the topic mentioned on the blog