MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




Multiple zooms and pans

This is a discussion on Multiple zooms and pans within the MapPoint 2006/2009 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 ...


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 03-14-2005
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
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
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 03-14-2005
Senior Member
Black Belt
 
Join Date: Nov 2004
Posts: 2,112
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 ?
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 03-14-2005
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4 (permalink)  
Old 03-14-2005
Senior Member
Black Belt
 
Join Date: Nov 2004
Posts: 2,112
Hi,

Now I underateand
Use Altitude to put specific zoom factors !
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5 (permalink)  
Old 03-14-2005
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
Ok

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

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
  #6 (permalink)  
Old 03-15-2005
Senior Member
Black Belt
 
Join Date: Nov 2004
Posts: 2,112
Hi,

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

Code:
MP.ActiveMap.Altitude = Alt;
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
multiple, pans, zooms


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
Multiple Addresses Anonymous MapPoint 2006/2009 Discussion 1 05-03-2005 04:27 PM
multiple tracking bchara MapPoint 2006/2009 Discussion 1 04-30-2005 05:15 PM
Reverse Geocoding at different Zooms Gianmaria MapPoint 2006/2009 Discussion 1 01-20-2005 07:34 PM
Multiple Stops Anonymous MapPoint 2006/2009 Discussion 2 01-23-2004 08:57 AM
Multiple Routes on 1 Map Anonymous MapPoint 2006/2009 Discussion 0 09-10-2003 10:45 PM


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


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