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

How to use MapMouseClick

1 Answer 66 Views
Map
This is a migrated thread and some comments may be shown as answers.
hyun
Top achievements
Rank 1
hyun asked on 07 Feb 2018, 05:36 AM

hello

Could tell me how to use MapMouseClick of RightButton ?? 

1 Answer, 1 is accepted

Sort by
0
Martin Ivanov
Telerik team
answered on 09 Feb 2018, 04:04 PM
Hello Hyun,

The MapMouseClick event is fired only for a click with the left button of the mouse. If you want to listen for right button click you can subscribe to the native MouseRightButtonDown event of the map control. In this case to get the clicked location you can use the static Location.GetCoordinates() method.

Regards,
Martin Ivanov
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.
Tags
Map
Asked by
hyun
Top achievements
Rank 1
Answers by
Martin Ivanov
Telerik team
Share this question
or