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 2 of 2

Getting the pushpin from a location

This is a discussion on Getting the pushpin from a location within the MapPoint Desktop Discussion forums, part of the Map Forums category; Hi, I need to delete a MapPoint.Pushpin which is associated with a MapPoint.Location. I know how to get the pushpin ...

  1. #1
    BobFromBoston is offline Senior Member Green Belt
    Join Date
    Jul 2005
    Posts
    128

    Getting the pushpin from a location

    Hi,

    I need to delete a MapPoint.Pushpin which is associated with a MapPoint.Location. I know how to get the pushpin from a streetname, but for some reason it's not finding it.

    MapPoint.Pushpin pushpin = myMap.FindPushpin( streetName );

    Thanks.

  2. #2
    Mohamed is offline Member Green Belt
    Join Date
    Mar 2005
    Posts
    97
    Hi,

    FindPushPin will find the Pushpin with Name given by AddPushpin

    If you did :

    objApp.ActiveMap.AddPushpin objLoc, "My PushPin Name" ,

    You can find that pushpin if you do:

    Set objPin = objApp.ActiveMap.FindPushpin("My PushPin Name")

    So just check what you did when you've created you pushpins.

    Ciao

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Extracting the corresponding Territory to a PushPin Location
    By jpendegraft in forum MapPoint Desktop Discussion
    Replies: 3
    Last Post: 08-13-2005, 03:06 AM
  2. PushPin not set on correct location but shown with line
    By Anonymous in forum Bing Maps and MapPoint Web Service
    Replies: 1
    Last Post: 03-29-2005, 09:13 AM
  3. Need county name given location of pushpin
    By jghenderson in forum MapPoint Desktop Discussion
    Replies: 4
    Last Post: 11-22-2004, 03:42 PM
  4. Having problems getting location from pushpin
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 0
    Last Post: 11-02-2004, 11:33 AM
  5. Finding Pushpin Name by clicking on the Pushpin?(MP 2002)
    By NickSP in forum MapPoint Desktop Discussion
    Replies: 4
    Last Post: 01-10-2003, 01:11 PM

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 26 27 28 29 30 31 32 33 34 35 36