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 3 of 3

Set Globe View When Zoomed Out Programmatically?

This is a discussion on Set Globe View When Zoomed Out Programmatically? within the MapPoint Desktop 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 ...

  1. #1
    jdwhytie is offline 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

  2. #2
    Eric Frost's Avatar
    Eric Frost is offline Administrator Black Belt
    Join Date
    Jul 1992
    Posts
    5,094
    Blog Entries
    4
    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
    ~ Order MapPoint MapPoint 2013 Here and Get Free Access to the MapForums Downloads ~
    ~~
    ~ Upgrade to Get Access to the MapForums Downloads ~

  3. #3
    jdwhytie is offline Member Yellow Belt
    Join Date
    Jun 2004
    Posts
    37

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Getting edge coordinates of zoomed in screen in Mappoint '04
    By jliao81 in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 01-05-2010, 07:40 AM
  2. How to save map as *.ptm programmatically in MapPoint?
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 3
    Last Post: 10-07-2004, 12:22 PM
  3. Get programmatically the type of roads
    By baltazar in forum MapPoint Desktop Discussion
    Replies: 0
    Last Post: 03-19-2004, 06:22 AM
  4. Programmatically creating Territories?
    By jlaretto in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 01-29-2004, 03:01 AM
  5. showing places when zoomed out?
    By creativegirl in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 02-03-2003, 02:45 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