MapPoint Forums

MapForums

Community of MapPoint and Virtual Earth Users and Developers




ZoomTo() bug??

This is a discussion on ZoomTo() bug?? within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; Hello guys, I have an issue with ZoomTo() function. It seems that ZoomTo() doesn't zoom good enough. If a distance ...


Go Back   MapPoint Forums > Map Forums > MapPoint 2006/2009 Discussion

Today's Posts Twitter Feed Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read



Click here to register

Reply

 

LinkBack (1) Thread Tools Display Modes
  1 links from elsewhere to this Post. Click to view. #1 (permalink)  
Old 12-03-2008
Member
Green Belt
 
Join Date: Nov 2006
Posts: 93
ZoomTo() bug??

Hello guys,

I have an issue with ZoomTo() function. It seems that ZoomTo() doesn't zoom good enough. If a distance between to pushpins is just 100 meters and I move them to a self defined DataSet object and perform a ZoomTo() on the DataSet, the ZoomTo() doesn't zoom in further than a certain altitude (I guess not less than 1 km of altitude).

I hope you understand my problem. So how can I zoom "automatically" such that those two pushpins just fit in the map on my screen and not having those pushpins almost centred on my map because ZoomTo() doesn't zoom good enough.

Searching on the forum didn't gave me any results.


A few hours later:
Since nobody answered me, maybe too busy, I found a solution.
The solution is to use Union() method. Create an array of locations to zoom to and call Union().
Hope someone find it a useful info.

Last edited by VC_Man; 12-03-2008 at 09:07 AM..
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
bug, zoomto


LinkBacks (?)
LinkBack to this Thread: http://www.mapforums.com/zoomto-bug-9212.html

Posted By For Type Date
Using MapPoint In Delphi - MapPoint Articles - MP2K Magazine This thread Refback 12-03-2008 02:10 PM

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
ZoomTo or Goto for shapes jlewis MapPoint 2006/2009 Discussion 7 02-12-2007 01:27 PM
What is it: ZoomIn, ZoomOut, ZoomTo or Altitude?? VC_Man MapPoint 2006/2009 Discussion 5 12-22-2006 06:43 AM
dataSet.zoomTo() chpw MapPoint 2006/2009 Discussion 4 05-17-2006 07:05 AM
ZoomTo Cropping JRussell MapPoint 2006/2009 Discussion 2 10-27-2003 10:47 AM
Another Question much simpler (zoomto stuff) Dazzer MapPoint 2006/2009 Discussion 1 09-24-2003 05:18 PM


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


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0 RC2
MP2K Magazine
Visitor Map

Dalaman Holiday
Enjoy a wonderfully peaceful Dalaman holiday... Book through UlookUbook and save!

Pubs London
Want to find Pubs in London? Qype has reviews and Pubs in your area.



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