Page 1 of 1

Using World Maps

Posted: Fri Mar 12, 2010 4:37 pm
by 10548187
Is there an example of creating points on a map using longtitude and latitude?

thanks

Re: Using World Maps

Posted: Fri Mar 12, 2010 4:46 pm
by narcis
Hi TCardinal,

Yes, the TeeMaps example included with TeeChart's installation, for example at: C:\Program Files\Steema Software\TeeChart 8.06 for Delphi 2007\Examples\TeeMaps; includes a city list which are plotted using longitude and latitude coordinates.

Hope this helps!

Re: Using World Maps

Posted: Fri Mar 12, 2010 5:26 pm
by 10548187
Thanks, that would be what I am after. Unfortunately the example app won't load as it requires DotNet Personality. Even trying to compile the unit in a new app, won't compile as it needs TeeObjectInspector which I can't find in my installation.

Thanks

Re: Using World Maps

Posted: Mon Mar 15, 2010 10:24 am
by yeray
Hi TCardinal,

To fix the DotNet Personality problem, try deleting the .dproj file and loading the .dpr project.
To fix the TeeObjectInspector dependence, add the folder "Examples\TeeChartOffice\Sources" to your TeeMaps project's search path or copy "TeeObjectInspector.dcu" and "TeeObjectInspector.pas" from that folder to your TeeMaps demo folder "Examples\TeeMaps".

It should be fine with the next maintenance release.