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

Multiple zooms and pans

This is a discussion on Multiple zooms and pans within the MapPoint Desktop Discussion forums, part of the Map Forums category; Hello, I recently re-arranged some code in an application that our company has in order to better use some MapPoint ...

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

    Multiple zooms and pans

    Hello,

    I recently re-arranged some code in an application that our company has in order to better use some MapPoint features.

    Originally I would just pass a pan x and y and it would compile that into what had already been done.

    After the code movement, it seems that the pan x and y are reset on each refresh of the map.

    Has anyone run into this before?

    Thanks

  2. #2
    Wilfried is offline Senior Member Black Belt
    Join Date
    Nov 2004
    Location
    Belgium
    Posts
    2,433

    Re: Multiple zooms and pans

    Hi,

    Quote Originally Posted by MappointGuy
    Originally I would just pass a pan x and y and it would compile that into what had already been done.
    Can you please try to explain what the problem is ?

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

    Multiple pans/zooms

    Ok,

    Originally I had some code that accesses the MapPoint WebService.

    It would take into account all the previous pans and zooms, so each time the map refreshed, I would pass the absolute pan.

    Example :
    User wants to zoom in so I send a zoom factor of 0.5
    User wants to zoom in again so I send a zoom factor of 0.5

    Outcome, the map is zoomed in double (a .25 zoom)

    Now If I send a 0.5 zoom two times, it is still only zooms in 0.5



    I thought that I had included everything.. are there any variables that SOAP etc. uses internally that store that?

    I hope that makes sense.

    Thanks.

  4. #4
    Wilfried is offline Senior Member Black Belt
    Join Date
    Nov 2004
    Location
    Belgium
    Posts
    2,433

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

    Ok

    I apologize, but I do not understand what you mean.
    Before I did not set altitude.
    Thankyou very much for your help

    Thanks

  6. #6
    Wilfried is offline Senior Member Black Belt
    Join Date
    Nov 2004
    Location
    Belgium
    Posts
    2,433
    Hi,

    To set a specific zoom level you can set Altiitude, like this:

    Code:
    MP.ActiveMap.Altitude = Alt;

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Multiple Stops
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 3
    Last Post: 09-19-2009, 01:14 AM
  2. Multiple Addresses
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 05-03-2005, 04:27 PM
  3. multiple tracking
    By bchara in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 04-30-2005, 05:15 PM
  4. Reverse Geocoding at different Zooms
    By Gianmaria in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 01-20-2005, 07:34 PM
  5. Multiple Routes on 1 Map
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 0
    Last Post: 09-10-2003, 10: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