EasyMap VCL
TPolyline
TPolyline = class(TCustomMapObject)
Unit
MapObjects
Description
This class object can be shown at the map as simple or complex polyline. It can be created automatically while loading data from MIF file or while run-time, for example:

procedure TForm1.FormDblClick(Sender: TObject);
var pline: TCustomMapObject;
begin
  ...
  Map.Layers.Add.name := 'Test layer';
  pline := Map.Layers.Last.NewObject(TPolyline);
  pline.Parts.Add;
  pline.Parts.Last.Points.Add(x0, y0);
  pline.Parts.Last.Points.Add(x1, y1);
  pline.Parts.Last.Points.Add(x2, y2);
  ...
  pline.Parts.Last.Points.Add(xN, yN);
  pline.Draw;
end;