MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




Union

This is a discussion on Union within the MapPoint 2006/2009 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 ...


Go Back   MapPoint Forums > Map Forums > MapPoint 2006/2009 Discussion

Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read



Click here to register

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 09-21-2002
Junior Member
White Belt
 
Join Date: Aug 2002
Posts: 11
Union

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.Union(Array(args(1))).GoTo
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2 (permalink)  
Old 09-21-2002
John Meyer's Avatar
Senior Member
Blue Belt
 
Join Date: Jul 2002
Posts: 479
If all the pushpins are in the same dataset you can use the "ZoomTo method"
__________________
John
http://www.support-pc.com

Order MapPoint 2006 Here
https://secure.mp2kmag.com/?refer=support-PC
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Tags
union


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
HTML, activeX and Javascript - Union method problem mcjwb MapPoint 2006/2009 Discussion 14 06-18-2005 09:56 AM
Using union in c# Anonymous MapPoint 2006/2009 Discussion 0 11-04-2003 12:33 PM


All times are GMT -5. The time now is 11:54 AM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
MP2K Magazine
Visitor Map


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