Community of VE/MapPoint Users and Developers
This is a discussion on Displaying a Tool Tip when hovering over a pushpin within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; Greetings, Does anyone know how to temporarily display a tool tip, or floating text, when the mouse is over a ...
| |||||||
| Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| Displaying a Tool Tip when hovering over a pushpin Does anyone know how to temporarily display a tool tip, or floating text, when the mouse is over a given symbol or pushpin? I know how to use balloons, but for a congested map, they just get in the way. I'd much rather see them appear when the user's hovering the mouse cursor above it, and see them disappear when the user moves the mouse. Does anybody know how to do this? Thanks, Bob |
| |||
|
Hi, Yes you can set the Note or so when the mouse move over it. To know when the mouse move over it you have to install an event handler in OnMouseMove event. You have to keep an array of all the xy positions of all the pushpins, and in MouseMove you can check if you are nearby or over one of the pushpins. If so you take according action. Note that you have to optimize this code for speed as thsi event handler is called thousands of times a second.
__________________ rgds, Wilfried Mestdagh www.mestdagh.biz MapPoint coding demo Order MapPoint 2009 with Routing and User Tools Spreadsheet |
| |||
|
Hi, A pushpin has a Location object. To know the lat/long coordinates of this Location you can use CalcPos routine you find on this forum: http://www.mp2kmag.com/articles.asp?...xtract.lat.lon To find Lat/Long coordinates from out of X/Y points you can use XYToLocation method.
__________________ rgds, Wilfried Mestdagh www.mestdagh.biz MapPoint coding demo Order MapPoint 2009 with Routing and User Tools Spreadsheet |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Pushpin Tool - Wish List Wanted for next version | John Meyer | News and Announcements | 0 | 03-21-2006 06:10 AM |
| Download Trial Pushpin Tool | wadams | MapPoint 2006/2009 Discussion | 3 | 06-18-2005 08:27 AM |
| Displaying Balloon on Pushpin | Anonymous | MapPoint 2006/2009 Discussion | 11 | 01-31-2005 02:53 PM |
| Pushpin Tool | davidb | Products: Pushpin Tool, Single State Mapper | 2 | 10-09-2003 09:56 AM |
| PUSHPIN TOOL | gsc1ugs | Products: Pushpin Tool, Single State Mapper | 10 | 03-07-2003 11:08 AM |
Cheap Flights to Brussels
Book cheap flights to Brussels online today. Brussels is a city with diverse culture with over 100 museums to visit and an array of different architectural designs to view.
Spain Weather
Check Spain Weather before you travel. We provide information on Spain including weather, flights and accommodation.
Cheap Holiday Turkey
Booking a cheap holiday to Turkey doesn't have to be at the expense of enjoyment. Dealchecker.co.uk searches holidays from the leading UK Tour Operators.
Egypt Holidays
Visit one of the most spectacular sightseeing destinations in the world with The Holiday Place. Egypt holidays provide a fantastic break!
Cheap Turkey Holidays
The best time of year to sneak in cheap Turkey holidays is during the off-peak season. Check out the great deals available during April, May or October. For other tips on how to bag a great value holiday simply check online at ulookubook.com
Cheap Travel
Travel.co.uk has some excellent offers on cheap travel. Click here.
Cheap Holidays to Goa
Dine on delightful seafood in west India. Find information on cheap holidays in Goa at On The Beach.