Community of MapPoint and Virtual Earth Users and Developers
This is a discussion on DisplayDataMap in Delphi 7 within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; Hi, I try to import a dataset from a CSV file and display it at shaded area. I successfully implemented ...
| |||||||
| Today's Posts | Twitter Feed | Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| DisplayDataMap in Delphi 7 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 |
![]() |
| Tags |
| delphi, displaydatamap |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| DisplayDataMap | chpw | MapPoint 2006/2009 Discussion | 8 | 09-21-2006 06:13 AM |
| DisplayDatamap and ArrayOfCustomValues | PGLRepDev | MapPoint 2006/2009 Discussion | 5 | 06-21-2006 03:35 PM |
| DisplayDataMap method c# | fletch | MapPoint 2006/2009 Discussion | 1 | 04-08-2005 06:26 AM |
| DisplayDataMap with delphi ? | seb24 | MapPoint 2006/2009 Discussion | 0 | 01-29-2004 09:49 AM |
| DisplayDataMap and C# | Anonymous | MapPoint 2006/2009 Discussion | 0 | 07-04-2003 01:15 PM |
Algarve Holiday
Portuguese all year round sunshine is some of what awaits you if you choose the Algarve holiday option through UlookUbook!