Show custom popup for pin on mouse click for showing details

Within this forum we want to offer discussions all around our .NET based Map control including all .Net-language specific questions concerning calls of the xServer-API. Attention: xServer-relevant concepts can be found in further forums such as xRoute or xTour.
Post Reply
User avatar
webdirekt
Posts: 28
Joined: Wed Jul 15, 2015 10:18 am

Show custom popup for pin on mouse click for showing details

Post by webdirekt »

- How to invoke MouseUp Event on Mouse Left Button Click ?

We have implemented following functionalities -
-------------------------------------------------------------------------------------------
1) Single Selection Of Pin
- We have implemented this functionality using CTRL(Left or Right) +
OnMouseLeftButtonDown
- Set the mode as Click
OnMouseLeftButtonUp
- Display the clicked Pin as Selected.

2) Multiple Selection Of Pin
- We have implemented this functionality using CTRL(Left or Right) + SHIFT(Left or Right) +
OnMouseLeftButtonDown and dragged the mouse
- Creates the rectangle or poylgon for selecting multiple pins
OnMouseLeftButtonUp
- Display all the pins covered in the rectangle on MouseLeftButtonDown event.

3) Drag and Drop Of Pin
- We have implemented functionality using MouseLeftButtonDown + MouseMove


We need to implement following functionality -
----------------------------------------------------------------------------------------------
1) Detailed Information Of Pin on Single Click
- We want to display the detailed information on MouseUp ?


Please see the screenshot attached of Mouse Click events.(MouseEvents.png)
Attachments
MouseEvents
MouseEvents
Map Image for showing Popup on Pin Click
Map Image for showing Popup on Pin Click
LNM_PTV
Posts: 14
Joined: Mon Apr 18, 2016 12:25 pm

Re: Show custom popup for pin on mouse click for showing det

Post by LNM_PTV »

Hello,

what about using OnMouseLeftButtonDown + ALT?
Lars Moritz
Technical Consultant
PTV GROUP, Germany
User avatar
webdirekt
Posts: 28
Joined: Wed Jul 15, 2015 10:18 am

Re: Show custom popup for pin on mouse click for showing det

Post by webdirekt »

Hello,

Thanks for the idea. We will try this and get back to you :)
Post Reply