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

place a pushpin based on longitude n latitude using vba

This is a discussion on place a pushpin based on longitude n latitude using vba within the MapPoint Desktop Discussion forums, part of the Map Forums category; can return long/lat of a waypoint but need to place a pushpin based on the long/lat of that waypoint....

  1. #1
    chas is offline Junior Member White Belt
    Join Date
    Aug 2006
    Posts
    8

    place a pushpin based on longitude n latitude using vba

    can return long/lat of a waypoint but need to place a pushpin based on the long/lat of that waypoint.

  2. #2
    Wilfried is offline Senior Member Black Belt
    Join Date
    Nov 2004
    Location
    Belgium
    Posts
    2,433
    Hi,

    I do not understeand your question very well, but if you need to place a pushpin on a give lat/long coordinate you can use this code. MP is the name of the ActiveX control in this example.

    Code:
     Location loc = MP.ActiveMap.GetLocation(lat, lon, 1);
     Pushpin pp = MP.ActiveMap.AddPushpin(loc, name);

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. How to recover Latitude and Longitude from a pushpin
    By prynel_laurent in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 03-21-2006, 03:18 PM
  2. Latitude and Longitude
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 11-25-2003, 01:52 PM
  3. NMEA latitude/longitude and mappoint latitude/longitude
    By muurman in forum MapPoint Desktop Discussion
    Replies: 3
    Last Post: 11-22-2003, 05:42 AM
  4. VB6 - Latitude and longitude of a pushpin ???
    By Vincent BENNER in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 11-12-2002, 07:03 AM
  5. How to get the latitude and longitude for each pushpin
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 09-14-2002, 12:42 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 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66