How to use MapMouseClick

2 posts, 0 answers
  1. hyun
    hyun avatar
    1 posts
    Member since:
    Jan 2018

    Posted 06 Feb 2018 Link to this post


    Could tell me how to use MapMouseClick of RightButton ?? 

  2. Martin Ivanov
    Martin Ivanov avatar
    2277 posts

    Posted 09 Feb 2018 Link to this post

    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.

    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.
Back to Top