Wilfried Mestdagh wrote: > procedure TForm1.CalcZonesBtnClick(Sender: TObject); > var > Zone: Shape; > Vertices: array of OLEVariant; > Vertex: OLEVariant; > n: integer; > Loc: Location; > begin > Zone := MP.Map.Shapes.AddDrivetimeZone(LocSonal, 15 / 1440); > Vertices := Zone.Vertices; > for n := Low(Vertices) to High(Vertices) do begin > Vertex := Vertices[n]; > Loc := Vertex as Location; > > The last line gives me a compiler error 'operator not applicable to this > operant type'. any ideas ?
So what's a Location? -- Rob __________________________________________________ Delphi-Talk mailing list -> Delphi-Talk@elists.org http://www.elists.org/mailman/listinfo/delphi-talk