Integrate maps into a Delphi application

Posted on 2009-02-24
Medium Priority
Last Modified: 2013-12-21
What is the best way to build maps into a delphi application for delivery drivers
Question by:CiaoBaby
LVL 12

Expert Comment

ID: 23730680
If you don't have the code to draw the maps by yourself, then you should look at getting a component that can acheive that. In one project I was working at we used ESRI's MapObjects component to draw the maps in our application, but I'm sure that there are many more components out there to select from. The ESRI MapObjects component can read many map-file-formats, but the most common format we used is called .shp, which i beleive is somewhat of a standard in geographical file-formats.

When you select your component, I think you should decide if you want your application to have a map with fancy graphics (like the google earth map), or one that generates a more practical image. for delivery drivers, i would go with the practical view, and not with the whole 3d-world map thing.

When you have picked a component and collected some compatible map-data-files, then all you need to do is add the component to your application, and load the map-data-files into the component upon startup.

I think you should look into some of the tutorials that exist for GIS-programming before you start (GIS = Geographical Information System). A search at google generated some results:



Accepted Solution

PeterIngham earned 1500 total points
ID: 23761818
Embed a  webrowser control running Google Maps inside your Delphi App?

Crude but relatively easy.

Author Comment

ID: 23874676
I did embed a web browser in the application with the data for the address etc.  Actually, it worked.  But I needed to be able to enter in several addresses and have it build a route and print out directions.  I bought a $70 component from http://www.gkconsulting.co.uk/ which puts a Delphi wrapper around the Mappoint Active X controls (which getting to work without the wrapper was driving me crazy)  The components work well.  

Expert Comment

ID: 24138210
TGoogleMaps is the solution for you...!!

Featured Post

What Security Threats Are We Predicting for 2018?

Cryptocurrency, IoT botnets, MFA, and more! Hackers are already planning their next big attacks for 2018. Learn what you might face, and how to defend against it with our 2018 security predictions.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A short article about problems I had with the new location API and permissions in Marshmallow
Article by: evilrix
Looking for a way to avoid searching through large data sets for data that doesn't exist? A Bloom Filter might be what you need. This data structure is a probabilistic filter that allows you to avoid unnecessary searches when you know the data defin…
This video teaches viewers about errors in exception handling.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
Suggested Courses

807 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question