MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




Smooth View Translation from pin to pin

This is a discussion on Smooth View Translation from pin to pin within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; Hi, right now I've got a few pins set up. I have a timer that goes through a vector of ...


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

Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 05-11-2005
Junior Member
White Belt
 
Join Date: May 2005
Posts: 9
Smooth View Translation from pin to pin

Hi, right now I've got a few pins set up. I have a timer that goes through a vector of all these pins and does a GoTo() to center on that pin. What I'd like is for the view to glide across the map from one pin to the next. Is this possible? Does anyone know how to do it?

Thanks,
Stu
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 05-12-2005
Junior Member
Yellow Belt
 
Join Date: Apr 2004
Posts: 16
Gliding to pins

Starting at point A, going to point B -
define or use existing locations between the two and and do a goto for each. Depending on the distance between A and B and the speed with which you want to "glide" you'll need more or less places in between. IMO, this works best using a polyline between A and B with a number of vertices that will produce your glide effect.
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 05-12-2005
Senior Member
Black Belt
 
Join Date: Nov 2004
Posts: 2,055
Hi,

You have lat/long position of puspin now in center. You calculate direction and distance for second pushpin. Then you have a vector. All you need to do then is divide the vector in the distance (steps) you wants to glide, calculate the position for each step and GotoLatLong to each position.
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 05-12-2005
Junior Member
White Belt
 
Join Date: May 2005
Posts: 9
Ok, thanks for your help!

How do I get the lat/long of a pushpin? I placed the pushpin by finding a location through an address with FindAddressResults. This is with an MFC app using C++. The classes CLocation and CPushpin don't seem to have any methods that return floats or something with lat/long in a primitive number type.
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


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
View by zip code John Swanick MapPoint 2006/2009 Discussion 8 07-12-2005 08:05 AM
Using VB6 to Link to SQL View takk MapPoint 2006/2009 Discussion 2 12-08-2004 10:51 PM
UnionSample -> vb.net translation webjagger MapPoint 2006/2009 Discussion 0 05-27-2004 09:12 AM
Map Translation Software Anonymous MapPoint 2006/2009 Discussion 3 09-18-2003 09:41 AM
3D View Anonymous Wish List 0 06-06-2003 05:19 PM


All times are GMT -5. The time now is 10:24 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

Cheap flights to Majorca
Majorca has got a little something for everyone. As well as the legendary nightlife there are historical areas to explore. Check it out!

Flights to Greece
Find cheap flights to Greece on Travel Counsellors. A personal Travel Counsellor can help you plan flights and find accommodation in Greece.

Cape Town Flights
Book Cape Town flights through dealchecker.co.uk to get a great deal. Cape Town has fantastic weather and a wide range of activities to keep you busy.

Cancun Holidays
Cancun holidays offer beautiful scenery, calm waters and plenty of shopping. Get a taste of the good life while on holiday in Cancun.

Cheap Balearics Holidays
Cheap Balearics holidays are available if you know when to book and who to book with. The Balearics have many fascinating places to visit all year round. The partying never stops.

Holidays
At Travel.co.uk the options for holidays are endless. Do some online comparison shopping!

Lanzarote Holidays
Visit the easternmost island of the archipelago! Book Lanzarote holidays at On The Beach!


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