MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




Set Globe View When Zoomed Out Programmatically?

This is a discussion on Set Globe View When Zoomed Out Programmatically? within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; Is there a way to set the map to 'Globe View when Zoomed Out' programmatically? I can get this to ...


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 07-20-2004
Member
Yellow Belt
 
Join Date: Jun 2004
Posts: 37
Set Globe View When Zoomed Out Programmatically?

Is there a way to set the map to 'Globe View when Zoomed Out' programmatically? I can get this to happen by saving a blank map and then setting it through the View menu, I am just wondering if it is possible to do with VB.

Thanks
-Jake
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 07-20-2004
Eric Frost's Avatar
Senior Member
Black Belt
 
Join Date: Jul 1992
Posts: 2,487
Blog Entries: 1
Hey Jake,

Yes, definitely. Check this out in the Help File:

Projection property

Returns or sets whether the map is displayed as a flat map (Miller Cylindrical projection) or globe map (orthographic projection) at zoom levels above 5,700 miles (9,200 kilometers). Below this altitude, the map is always displayed as a globe map. Read/write GeoMapProjection.

Here's the example they include:

Code:
  Sub ChangeToGlobeView()

  Dim objApp As New MapPoint.Application

  'Set up the application
  objApp.Visible = True
  objApp.UserControl = True

  'Change the map projection to
  ' globe view and zoom out to see it
  objApp.ActiveMap.Projection = geoGlobeViewWhenZoomedOut
  objApp.ActiveMap.ZoomOut

  End Sub
__________________
~ Now taking orders for MapPoint 2009 ~
~
~ Upgrade to MapForums Plus membership ~
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3 (permalink)  
Old 07-20-2004
Member
Yellow Belt
 
Join Date: Jun 2004
Posts: 37
Perfect, Thanks.
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
globe, programmatically, set, view, zoomed


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
Getting edge coordinates of zoomed in screen in Mappoint '04 jliao81 MapPoint 2006/2009 Discussion 0 07-04-2005 11:17 AM
How to save map as *.ptm programmatically in MapPoint? Anonymous MapPoint 2006/2009 Discussion 3 10-07-2004 12:22 PM
Get programmatically the type of roads baltazar MapPoint 2006/2009 Discussion 0 03-19-2004 06:22 AM
Programmatically creating Territories? jlaretto MapPoint 2006/2009 Discussion 1 01-29-2004 03:01 AM
showing places when zoomed out? creativegirl MapPoint 2006/2009 Discussion 1 02-03-2003 02:45 PM


All times are GMT -5. The time now is 07:02 PM.


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 55