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

MinLonX, MaxLonX, MinLatY, MaxLatY?

This is a discussion on MinLonX, MaxLonX, MinLatY, MaxLatY? within the MapPoint Desktop Discussion forums, part of the Map Forums category; Is there anything in the object model that will indicate what the coordinate "bounds" of the about-to-be-rendered map are going ...

  1. #1
    Anonymous is offline Senior Member Black Belt
    Join Date
    Jul 2002
    Posts
    5,137

    MinLonX, MaxLonX, MinLatY, MaxLatY?

    Is there anything in the object model that will indicate what the coordinate "bounds" of the about-to-be-rendered map are going to be?

    I'd like to store (and pass along with the rendered map for use on the JavaScript side) the coordinate boundaries of the map.

    Is there anything that will tell me what the rendered Minimum Longitude, Max Longitude, Min Latitude, and Max Longitude will be?

    Thanks! I'm striking out on the MapSpec object thus far.

  2. #2
    John Meyer's Avatar
    John Meyer is offline Senior Member Blue Belt
    Join Date
    Jul 2002
    Posts
    478
    Here is a link to my post about getting the corners of the map that is currently visible. Don't think you would have much luck trying to get the same results for a map that was "about-to-be-rendered" Anyway, just in case it might help you here is the link:

    http://www.mp2kmag.com/mappoint/disc...pic.asp?t=5084

  3. #3
    Eric Frost's Avatar
    Eric Frost is offline Administrator Black Belt
    Join Date
    Jul 1992
    Posts
    5,094
    Blog Entries
    4
    From his previous questions I think he's using the web service version.

    Eric
    ~ Order MapPoint MapPoint 2013 Here and Get Free Access to the MapForums Downloads ~
    ~~
    ~ Upgrade to Get Access to the MapForums Downloads ~

  4. #4
    Anonymous is offline Senior Member Black Belt
    Join Date
    Jul 2002
    Posts
    5,137
    Hello,

    When you get the map image object in the results it includes information on how that map can be built using the different map views. This info is contained in the 'view' property. The ViewByBoundingRectangle view gives the the lat/longs for the NE and SW corners of the map.


    Steven Pushee

    This posting is provided "AS IS" with no warranties, and confers no rights.
    You assume all risk for your use. 2003 Microsoft Corporation. All rights
    reserved.

  5. #5
    Anonymous is offline Senior Member Black Belt
    Join Date
    Jul 2002
    Posts
    5,137

Thread Information

Users Browsing this Thread

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

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 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 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96