Community of MapPoint and Bing Maps Users and Developers
This is a discussion on ActiveX Calculate function have a bug? within the MapPoint Desktop Discussion forums, part of the Map Forums category; This function does not works if I use Lat. 45.55811 Long. 11.545 as Start or Stop point. Is it a ...
| |||||||
| Today's Posts | Twitter Feed | Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| ActiveX Calculate function have a bug? Start or Stop point. Is it a bug of Calculate() method? Is there an error in my function? I work with MapPoint 2004 ActiveX. Thanks, Marco ------------------------------------------------------------------------------- Dim m_oMap As MapPoint.Map Dim m_oApplication As MapPoint.Application Dim m_oRoute As MapPoint.Route Dim m_oLocation As MapPoint.Location m_oMap = MPControl.NewMap(2) m_oApplication = m_oMap.Application MPControl.Units = MapPoint.GeoUnits.geoKm m_oRoute = m_oMap.ActiveRoute m_oLocation = m_oMap.GetLocation(45.93411, 9.93089, 100) m_oRoute.Waypoints.Add(m_oLocation, "start") ' Coords works m_oLocation = m_oMap.GetLocation(45.55811, 11.544, 100) ' Coords doesn't works 'm_oLocation = m_oMap.GetLocation(45.55811, 11.545, 100) m_oRoute.Waypoints.Add(m_oLocation, "stop") m_oRoute.Calculate() --------------------------------------------------------------------------------- |
![]() |
| Tags |
| activex, bug, calculate, function |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Using MapPoint function from EXCEL VBA | Jonboy | MapPoint Desktop Discussion | 7 | 05-01-2009 04:43 AM |
| Need Help using the SUM function for County | Anonymous | MapPoint Desktop Discussion | 1 | 04-08-2005 10:48 PM |
| ImportData method doesn't function | Val | MapPoint Desktop Discussion | 3 | 12-01-2003 09:27 AM |
| Problems with ShowFindDialog function in C++ | Anonymous | MapPoint Desktop Discussion | 1 | 10-06-2003 04:13 AM |
| Fix DistanceTo function | PC | Wish List | 1 | 03-21-2003 05:35 AM |