hi,
how to add mouse over event for internalfeature.
i want to fire my own event on mouse over the feature.
please help me.
Regards,
Ravi Bokkala
hi,
how to add mouse over event for internalfeature.
i want to fire my own event on mouse over the feature.
please help me.
Regards,
Ravi Bokkala
Hi Ravi,
I think that you need to look at the Code Community sample wiki.thinkgeo.com/wiki/Map_Suite_Wpf_Desktop_Edition_All_Samples#Get_Feature_Clicked_On.28Desktop.29 It is a desktop app but the logic that you will find for finding features within tolerance in screen coordinates can be applied to Wpf. Look at the code in the MapClick event handler, you will see how to get the nearest features from where the user clicked.
Then you need to set up a timer so it starts when the mouse stop moving, and after some milliseconds get the features under the mouse position, and finally create the appropriate event such as show a popup
Thanks Carlos and Michael.
Ravi, please have a try and feel free to let me know when you meet problems.
Regards,
Gary