MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




Zoom to include all pushpins (VBA)

This is a discussion on Zoom to include all pushpins (VBA) within the Development forums, part of the MapPoint 2006/2009 Discussion category; How would I zoom to a view that includes all pushpins? For a route, I do this (in VBA) Open ...


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

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



Click here to register

Reply

 

LinkBack (1) Thread Tools Display Modes
  1 links from elsewhere to this Post. Click to view. #1 (permalink)  
Old 10-30-2008
Junior Member
Yellow Belt
 
Join Date: Sep 2008
Posts: 21
Zoom to include all pushpins (VBA)

How would I zoom to a view that includes all pushpins?

For a route, I do this (in VBA)

Open map
PLace waypoints
Optimize
Calculate (get directions)

RouteCurrent.Directions.Location.GoTo (RouteCurrent has been set to the current route object)

The last line zooms to the route. How would I zoom to a set of independent PushPins (i.e. zoom in as far as possible but still show all pushpins on the map) instead of routed waypoints, though?
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 10-30-2008
Junior Member
Yellow Belt
 
Join Date: Sep 2008
Posts: 21
Re: Zoom to include all pushpins (VBA)

Found it: [CurrentMapObject].DataSets.ZoomTo
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
include, pushpins, vba, zoom


LinkBacks (?)
LinkBack to this Thread: http://www.mapforums.com/zoom-include-all-pushpins-vba-9012.html

Posted By For Type Date
Websites tagged "include" on Postsaver This thread Refback 1 Week Ago 02:15 AM

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
Microsoft Virtual Earth to Include DigitalGlobe Satellite Imagery VE For Government Virtual Earth Blogs 0 10-07-2008 04:31 PM
How To Include the Legend of MapPoint 2006 to Excel File ZLL MapPoint 2006/2009 Discussion 4 07-18-2008 12:35 PM
Zoom IN to show all pushpins in one screen XRoK MapPoint 2006/2009 Discussion 3 08-04-2005 10:00 PM
Hello, I'm wondering if there is a way to include.... Anonymous MapPoint 2006/2009 Discussion 1 09-04-2001 12:52 PM
Will MapPoint include UK political boundaries, par.... Anonymous MapPoint 2006/2009 Discussion 1 07-26-2001 08:44 AM


All times are GMT -5. The time now is 01:48 AM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2009, 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 55