Community of MapPoint and Virtual Earth Users and Developers
This is a discussion on Mappoint 2004 ActiveX Delphi 2005 How to add a Polyline within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; Dear all, i got a problem drawing a polyline on a map using Delphi 2005 and the ActiveX control from ...
| |||||||
| Today's Posts | Twitter Feed | Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| Mappoint 2004 ActiveX Delphi 2005 How to add a Polyline i got a problem drawing a polyline on a map using Delphi 2005 and the ActiveX control from mappoint 2004. I must give a array of locations to ..Shapes.addPolyline(myArray) to draw the way out of a GPS Data log. The Parameter is shown as OleVariant, so i prepared a aLocations : array [0..100] of Location, fill it up with Locations and then i try to call the function ..Shapes.addPolyline(VarArrayRef(aLocations); But it throughs an error. Can anybody help me? Thanks and Cheers, It-Fraggel |
| |||
|
Hi, Compiler error or runtime error ? whitch error ?
__________________ rgds, Wilfried Mestdagh www.mestdagh.biz MapPoint coding demo Order MapPoint 2009 with Routing and User Tools Spreadsheet |
| |||
|
Hi, first thanks for your effort. It was a typeconflict error message at runtime. At least i found the root cause. I defined a array [0..100] but only [0.99] where filled up. At that time when i call the add of the polyline the error was thrown. No it's working fine. Thanks, Ingo |
| |||
|
Hi, thanks for feedback. Quote:
__________________ rgds, Wilfried Mestdagh www.mestdagh.biz MapPoint coding demo Order MapPoint 2009 with Routing and User Tools Spreadsheet |
![]() |
| Tags |
| 2005, activex, add, delphi, mappoint 2004, polyline |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Got Mappoint ActiveX working in Delphi 5 | lynx | MapPoint 2006/2009 Discussion | 8 | 02-12-2008 04:46 PM |
| MapPoint 2004 and Visual Studio 2005 Runtime error | tizer001 | MapPoint 2006/2009 Discussion | 10 | 02-26-2006 09:51 AM |
| Street detail - Streets/Trips 2005 versus MapPoint 2004 | tmtemple | MapPoint 2006/2009 Discussion | 1 | 07-01-2005 07:32 AM |
| MapPoint 2004 updated from Autoroute 2005 | Anonymous | MapPoint 2006/2009 Discussion | 0 | 03-07-2005 04:49 AM |
| MapPoint ActiveX Wrapper for Delphi 5/7 | Anonymous | News and Announcements | 4 | 11-18-2003 09:15 AM |
Luxor Holiday
Book your Luxor holiday through UlookUbook and visit this destination stooped in history.