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


This is a discussion on Union within the MapPoint Desktop Discussion forums, part of the Map Forums category; I want to use the union function so i can zoom in to the pushpins that i have created. Lets ...

  1. #1
    amanuel is offline Junior Member White Belt
    Join Date
    Aug 2002


    I want to use the union function so i can zoom in to the pushpins that i have created. Lets say i have created only two pushpins the way i am doing it right now, i have to build a case of how many pushpins i have created and do the code below but i want to create about eight hundered pushpins. i don't want to have a case for eight hundered of them.
    Is there any other way of passing the list to the Array function.

    Case 1
    g_oApp.ActiveMap.Altitude = g_oApp.ActiveMap.Altitude * 6.5
    Case 2
    g_oApp.ActiveMap.Union(Array(args(1), args(2))).GoTo
    g_oApp.ActiveMap.Altitude = g_oApp.ActiveMap.Altitude * 6.5

    Thank you

  2. #2
    John Meyer's Avatar
    John Meyer is offline Senior Member Blue Belt
    Join Date
    Jul 2002
    If all the pushpins are in the same dataset you can use the "ZoomTo method"

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. HTML, activeX and Javascript - Union method problem
    By mcjwb in forum MapPoint Desktop Discussion
    Replies: 14
    Last Post: 06-18-2005, 09:56 AM
  2. Using union in c#
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 0
    Last Post: 11-04-2003, 12:33 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