Hi,

I try to import a dataset from a CSV file and display it at shaded area.
I successfully implemented the ImportData() call with Delphi. The data ist displayed as PushPins if I stop after call ImportData().
Now I work on the DisplayDataMap() call (in VB I did it with the wanted result)., but I get always an error message:
"Wrong Parameter" or "

The CVS files looks like "Data,Street,ZIP,City,Name" and the code
is:

var fields: Variant; // OleVariant;
objDataSet: DataSet;
err,cnt,i: integer;
s,t: string;
objRecordset: RecordSet;
idx: OleVariant;
objField: OleVariant;
colExpr: OleVariant;
objDataMap: DataMap;
lColorRange: longint;
ArrayOfCustomValues: OleVariant;
ArrayOfCustomNames: OleVariant;
DivideByField: OleVariant;
ArrayOfDataFieldLabels: OleVariant;
ArrayOfPushpinSymbols: OleVariant;
begin
.....
objDataMap:= objDataSet.DisplayDataMap(geoDataMapTypeShadedArea , // DataMapType
objField, // DataField
geoShowByZoomLevel, // ShowDataBy
geoCombineByAdd, // CombineDataBy
geoRangeTypeContinuousLog, // DataRangeType
geoRangeOrderDefault, // DataRangeOrder
0, //geoColorSchemeDefault, // ColorScheme
1, // DataRangeCount
ArrayOfCustomValues,
ArrayOfCustomNames,
DivideByField,
ArrayOfDataFieldLabels,
ArrayOfPushpinSymbols);


Any hint, what the right parameter is?

THANKS

Steffen