Using TPath with Polyline and IOUtils

Hi,


We found some posts regarding this issue, but nothing that
would solve our problem.

How can we add a polyline to the map with TPath when also using System.IOUtils ?

Placing "system.IOUtils" to the last uses didn't work.

Please advise.

Cheers.

Hi,


Have you tried using the example from the PDF Manual?

Example:
var
 PolylineItem: TPolylineItem;
begin
 PolylineItem := WebGMaps1.Polylines.Add;
PolylineItem.Polyline.Width := 2;
 PolylineItem.Polyline.Path.Add(50, 2);
 PolylineItem.Polyline.Path.Add(52, 4);
 PolylineItem.Polyline.Path.Add(50, 4);
 WebGMaps1.CreateMapPolyline(PolylineItem.Polyline);
end;


Hi Bart,


Got it working now.

thanks,

Paul