MapPoint Forums

MapForums

Community of VE/MapPoint 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

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 08:12 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
MP2K Magazine
Visitor Map

French Alps Ski Holidays
For French Alps ski holidays to remember visit Holiday Hypermarket. Booking is great value and simple. Pick a holiday to suit you today.

Turkey Holidays
Find and book Turkey Holidays with Travel Counsellors. Holiday destinations around the world including Turkey.

Canada Flights
Canada flights are great value flights when you visit dealchecker.co.uk first. Full of surprises, Canada is simply the most astonishingly beautiful country in the world.

Holidays to Antigua
The Holiday Place has fantastic deals on holidays to Antigua. Visit our website to view special offers on holidays to the Caribbean.

Cheap Canaries Holidays
Are you hunting down cheap Canaries holidays? Well check out ulookubook.com to bag a great value holiday. There are numerous festivals taking place all year round. Why not book your holiday around one?

All inclusive holidays
To plan all inclusive holidays, use Travel.co.uk to explore all the possibilities.

Cheap Florida Holidays
You thought American holidays were expensive? No ways! Affordable holidays to Florida, only at On The Beach.


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