Community of VE/MapPoint Users and Developers
This is a discussion on How to display balloon when pushpins have line between them? within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; I have programatically added pushpins to my map, and then I have an option to draw lines between the pushpins ...
| |||||||
| Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| How to display balloon when pushpins have line between them? If I rightclick on the pushpin I get a menu where I can choose "Show information", and the balloon with the info appears. After I've added the line I don't get the same menu when I rightclick, but another one with no "Show info"-option. Also, the pushpins get black squares on them (points of interest?). I would like to be able to see the information even though there is a line between the pushpins,- is there a way? |
| |||
| Re: How to display balloon when pushpins have line between them?
Hi lovetann, Your question is of the 'have to see it' variety, I think. It sounds like you simply need to zoom in further, but if that's not the answer then I offer to have a look at your map. Mike Mattys |
| |||
| Re: How to display balloon when pushpins have line between them?
lovetann, Send your file to me, I have to see this. http://www.mattysconsulting.com/contact.htm Mike Mattys |
| ||||
| Re: How to display balloon when pushpins have line between them?
You need to use the "ZOrder" property to bring the pushpin to the front (or the shape to the back). ZOrder sets which shapes are above which shapes. So if your line shape is oShp, the following VB6/VBA code will push it back (behind the pushpins): oShp.ZOrder geoSendToBack The black squares are vertices on your polyline. So a 1-segment straight line will have two vertices - one for each end. Richard
__________________ Winwaed Software Technology LLC http://www.winwaed.com See http://www.mapping-tools.com for MapPoint Tools Pre-Order MapPoint 2009 today: http://www.mapping-tools.com/mappoint2009 |
| |||
| Re: How to display balloon when pushpins have line between them?
Doh! ![]() Mike |
| ||||
| Re: How to display balloon when pushpins have line between them?
Yes, I saw this very problem a few years back with a custom programming project. There's a definite trade-off in visibility (and 'selectability') of lines and pushpins when drawing connecting lines like this. Richard
__________________ Winwaed Software Technology LLC http://www.winwaed.com See http://www.mapping-tools.com for MapPoint Tools Pre-Order MapPoint 2009 today: http://www.mapping-tools.com/mappoint2009 |
| |||
| Re: How to display balloon when pushpins have line between them?
I'm sorry, but it didn't help. After I've added the pushpins and placed their locations in an array I do the following: Shape line = map.Shapes.AddPolyline( locations ); line.Name = name; int red = System.Drawing.ColorTranslator.ToOle( System.Drawing.Color.Red ); line.Line.ForeColor = red; line.Line.Weight = 2; line.ZOrder( GeoZOrderCmd.geoSendToBack ); I appreciate your help, and would be grateful for any other ideas. |
| |||
| Re: How to display balloon when pushpins have line between them?
Hi, can you upload a screenshot so that we exactly can see what the problem is ?
__________________ rgds, Wilfried Mestdagh www.mestdagh.biz MapPoint coding demo Order MapPoint 2009 with Routing and User Tools Spreadsheet |
| |||
| Re: How to display balloon when pushpins have line between them? I'm now away on Easter holiday, so I'll do so when I return on March 25th. |
![]() |
| Tags |
| balloon, display, line, pushpins |
| ||||
| Posted By | For | Type | Date | |
| How to display balloon when pushpins have line between them? - MapPoint Forums | This thread | Refback | 03-23-2008 12:51 PM | |
| Calling MapPoint From C++ Without the MFC Safety Net - MapPoint Articles - MP2K Magazine | This thread | Refback | 03-12-2008 07:22 PM | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Is it possible to display more than 100 Pushpins? | ddd | MapPoint Web Service and Virtual Earth | 3 | 11-07-2006 04:59 PM |
| Display pushpins using Eastings and Northings | Landyd | MapPoint 2006/2009 Discussion | 2 | 05-24-2006 09:49 AM |
| how to display the names of multiple pushpins | Anonymous | MapPoint 2006/2009 Discussion | 1 | 04-19-2005 01:32 PM |
| Balloon data display | marcus smith | MapPoint 2006/2009 Discussion | 1 | 01-17-2003 08:08 PM |
| balloon display | Anonymous | MapPoint 2006/2009 Discussion | 4 | 01-03-2003 04:15 PM |