View Single Post

  #1 (permalink)  
Old 03-31-2006
it-fraggel it-fraggel is offline
Junior Member
White Belt
 
Join Date: Mar 2006
Posts: 2
Mappoint 2004 ActiveX Delphi 2005 How to add a Polyline

Dear all,
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
Reply With Quote