Community of MapPoint and Virtual Earth Users and Developers
This is a discussion on Show Name in MapPoint 2004 within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; Hi all, I am new to Mappoint. I just imported couple hundred locations in my Mappoint 2004. I have column ...
| |||||||
| Today's Posts | Twitter Feed | Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| Show Name in MapPoint 2004 I am new to Mappoint. I just imported couple hundred locations in my Mappoint 2004. I have column Name, Street, City, State, and Zip. However, they show up with little red circle. I would like to show the Name instead of the little circle for all of the location. If I right-click on the red circle and select "Show Name", it would show the name. Is there a way I can show name for ALL at once instead of right-click individual one? Thanks in advance, |
| |||
|
Hi, I did something like that but progamatically. I can show all the names of the pushpins of some shape ( it's easy with the BalloonState property ). So you can do that progamatically when you add the pushpins as in this example Code: Sub ShowPushpinBalloon()
Dim objApp As New MapPoint.Application
Dim objMap As MapPoint.Map
Dim objPin As MapPoint.Pushpin
'Configure l'application
Set objMap = objApp.ActiveMap
objApp.Visible = True
objApp.UserControl = True
'Ajoute un clic-infos, puis affiche sa bulle
Set objPin = objMap.AddPushpin(objMap.FindResults("Seattle, WA")(1))
objPin.BalloonState = geoDisplayBalloon
End Sub
|
| |||
|
Hi, You can not use code in a standalone executable instance of mappoint. You can only do it if you create your own applciation using the COM object of mappoint. this can be done in a language of your choice.
__________________ rgds, Wilfried Mestdagh www.mestdagh.biz MapPoint coding demo Order MapPoint 2009 with Routing and User Tools Spreadsheet |
| |||
|
Hi, Programatically you can do everything. If I understand your question, you want to show a Text instead of a picture (PushPin). I use that to show my customers in a Paris Map when I have to deliver my couscous. I don't add PushPins by Text with the function AddTextBox. In that Text , I show the name of my customer, the time of delivery. The text becomes red when the delivery time is exceeded, and so on. ( In the MapPoint HelpFile, you can read the Chapter about the Activex Component or buy The MapPoint for Dummies to learn things about that. I a couple of weeks you can do a lot of things with Mappoint. ) Here is an example: Code: Sub AddTextboxWithText() Dim objApp As New MapPoint.Application Dim objMap As MapPoint.Map Dim objLoc As MapPoint.Location 'Configure l'application et obtient un objet Location Set objMap = objApp.ActiveMap objApp.Visible = True objApp.UserControl = True Set objLoc = objApp.ActiveMap.GetLocation(0, 0) 'Crée une zone de texte en ce lieu et zoome sur celui-ci Set objMap.Location = objLoc objMap.Shapes.AddTextbox objLoc, 50, 30 objMap.Shapes.Item(1).Text = "Texte dans la zone" End Sub Mohamed www.AtlasCouscous.com |
![]() |
| Tags |
| mappoint 2004, show |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| New to Mappoint - Is it possible to show only ONE state? | schottenx4 | MapPoint 2006/2009 Discussion | 2 | 05-12-2005 04:15 PM |
| show mappoint map on web page | Anonymous | MapPoint 2006/2009 Discussion | 4 | 10-20-2004 04:02 PM |
| Answer: How to show mappoint toolbars with C# | Anonymous | MapPoint 2006/2009 Discussion | 6 | 05-13-2004 03:19 AM |
| Our nonprofit wants to use mappoint to show where .... | Anonymous | MapPoint 2006/2009 Discussion | 1 | 11-29-2001 09:37 AM |
| Is it possible to have Mappoint show multiple colo.... | Anonymous | MapPoint 2006/2009 Discussion | 1 | 10-23-2001 09:30 AM |
Zante Holidays
Enjoy lovely sandy beaches when you take your Zante holidays booked through UlookUbook!