Welcome to MapForums!

Register, sign in, or use Facebook Connect above to join in and participate in the forum.

When you are signed in, this message, the ads in this row, and the red-underlined link ads all go away.

Subscribe to receive our newsletter.
Subscribe Unsubscribe
Results 1 to 6 of 6

Show Name in MapPoint 2004

This is a discussion on Show Name in MapPoint 2004 within the MapPoint Desktop 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 ...

  1. #1
    SunnyVu is offline Junior Member White Belt
    Join Date
    May 2006
    Posts
    3

    Show Name in MapPoint 2004

    Hi all,

    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,

  2. #2
    Mohamed is offline Member Green Belt
    Join Date
    Mar 2005
    Posts
    97
    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
    Ciao

  3. #3
    SunnyVu is offline Junior Member White Belt
    Join Date
    May 2006
    Posts
    3
    Hi Mohamed,

    Thanks for reply, I have no idea how to do that. is that possible you can give me little instruction where to paste that codes in? or some where I can read about BallloonState property.

    Thank you,

  4. #4
    Wilfried is offline Senior Member Black Belt
    Join Date
    Nov 2004
    Location
    Belgium
    Posts
    2,433
    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.

  5. #5
    SunnyVu is offline Junior Member White Belt
    Join Date
    May 2006
    Posts
    3
    Thanks for the respond,

    Has anyone done something similiar to this? (display a name instead of a circle dot). It sounds like possible but I have no clue where/how to start this. Any help?

  6. #6
    Mohamed is offline Member Green Belt
    Join Date
    Mar 2005
    Posts
    97
    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
    Ciao

    Mohamed
    www.AtlasCouscous.com

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. New to Mappoint - Is it possible to show only ONE state?
    By schottenx4 in forum MapPoint Desktop Discussion
    Replies: 2
    Last Post: 05-12-2005, 05:15 PM
  2. show mappoint map on web page
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 4
    Last Post: 10-20-2004, 05:02 PM
  3. Answer: How to show mappoint toolbars with C#
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 6
    Last Post: 05-13-2004, 04:19 AM
  4. Our nonprofit wants to use mappoint to show where ....
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 11-29-2001, 10:37 AM
  5. Is it possible to have Mappoint show multiple colo....
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 10-23-2001, 10:30 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25