MapPoint Forums

MapForums

Community of MapPoint and Virtual Earth Users and Developers




DisplayDataMap in Delphi 7

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 ...


Go Back   MapPoint Forums > Map Forums > MapPoint 2006/2009 Discussion

Today's Posts Twitter Feed Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read



Click here to register

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-17-2004
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
DisplayDataMap in Delphi 7

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Tags
delphi, displaydatamap


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads

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


All times are GMT -5. The time now is 12:13 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0 RC2
MP2K Magazine
Visitor Map

Algarve Holiday
Portuguese all year round sunshine is some of what awaits you if you choose the Algarve holiday option through UlookUbook!



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59