popup message for feature invoked by hover
Is there a way to set a 'tool tip' style popup message for features that would display an attribute value of the feature when a user hovers their mouse over a feature on the map? Any advice on how to set this up if it is supported would be greatly appreciated! Is there an event that fires for when the mouse pointer hovers over a feature?
Comments
-
Rod,
You could certainly do this in your application. You would likely monitor WM_MOUSEMOVE events and detect when a feature is hovered over (use GM_FindNearestFeatures to find the nearest, similar to what is done in the OnRButtonUp handler in the C++ sample application), then display a popup with the desired information.
Let me know if I can be of further assistance.
Thanks,
Mike
Global Mapper Support
support@globalmapper.com
Categories
- 12.7K All Categories
- 5.6K Features Discussion
- 342 Downloading Imagery
- 1.3K Elevation Data
- 380 Georeferencing Imagery Discussion
- 628 GM Script Language
- 53 User Scripts
- 113 GPS Features
- 414 Projection Questions
- 819 Raster Data
- 1.3K Vector Data
- 6.6K Support
- 177 Announcement and News
- 908 Bug Report
- 558 SDK
- 1.2K Suggestion Box
- 3.7K Technical Support
- 562 Other Discussion
- 129 GIS Data Sources
- 27 Global Mapper Showcase
- 233 How I use Global Mapper
- 107 Global Mapper Forum Website