Community of MapPoint and Virtual Earth Users and Developers
This is a discussion on problem exporting a route within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; Hi! I have a big problem.. When I load a route (database of Lat/Long positions) and insert it into mappoint, ...
| |||||||
| Today's Posts | Twitter Feed | Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| problem exporting a route I have a big problem.. When I load a route (database of Lat/Long positions) and insert it into mappoint, it's very slow (I can understand it) but when I GetLocations of this points, the findresults method returns me a general position. For Example, if I have a position in Av. Diagonal (Barcelona) mappoint returns me "Barcelona", when I need "Av. Diagonal". A solution can be like this (in vbasic): '************************************************* ****** Set Coordenadas = Frmprincipal.MPC.ActiveMap.GetLocation(Latitud, Longitud, 0) Coordenadas.GoTo Frmprincipal.MPC.ActiveMap.ZoomIn Frmprincipal.MPC.ActiveMap.ZoomIn Set Resultado = Frmprincipal.MPC.ActiveMap.ObjectsFromPoint(Frmpri ncipal.MPC.ActiveMap.LocationToX(Coordenadas), Frmprincipal.MPC.ActiveMap.LocationToY(Coordenadas )) If Resultado.Count > 0 Then Locate_String = Resultado(1).Name Else Locate_String = "???" End If Frmprincipal.MPC.ActiveMap.ZoomOut Frmprincipal.MPC.ActiveMap.ZoomOut '************************************************* ****** This Process of make/unmake 2 zooms and a Location.Goto takes 3 minutes with a 250 positions routes in a p3 1000 Mhz :( Is there any solution to get more accuracy positions within this technique? Thanks, |
| ||||
|
Pepero, I have to admit I don't understand all of your post but I will try my best to help if I can. One thing I think I see is rather than zooming in two times, just set the Altitude to what you need: the Zero after the last comma is where you could set the Altitude "Set Coordenadas = Frmprincipal.MPC.ActiveMap.GetLocation(Latitud, Longitud, 0) " 'the Zero after the last comma is where you could set the Altitude . Here I've changed it to 100 "Set Coordenadas = Frmprincipal.MPC.ActiveMap.GetLocation(Latitud, Longitud, 100) " You can also set the Altitude of the current map anytime: objApp.ActiveMap.Altitude = 10
__________________ John http://www.support-pc.com Order MapPoint 2006 Here https://secure.mp2kmag.com/?refer=support-PC |
![]() |
| Tags |
| exporting, problem, route |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Exporting Help | Circpro | MapPoint 2006/2009 Discussion | 0 | 01-19-2005 07:10 PM |
| please help exporting ! | ToddF | MapPoint 2006/2009 Discussion | 2 | 04-26-2004 11:12 AM |
| How do I calculate a route distance without displaying route | spideybud | MapPoint 2006/2009 Discussion | 4 | 09-09-2003 10:14 AM |
| Exporting Route Schedule to Outlook Calendar | Anonymous | MapPoint 2006/2009 Discussion | 2 | 07-18-2003 12:52 PM |
| Exporting map/route image | Anonymous | MapPoint 2006/2009 Discussion | 1 | 09-10-2002 08:29 AM |
Ibiza Holiday
Visit the party capital of Europe with an Ibiza holiday! Check out the deals online on UlookUbook...