Integrate maps into a Delphi application

Posted on 2009-02-24
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

    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:

    LVL 3

    Accepted Solution

    Embed a  webrowser control running Google Maps inside your Delphi App?

    Crude but relatively easy.

    Author Comment

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

    TGoogleMaps is the solution for you...!!

    Featured Post

    Free Trending Threat Insights Every Day

    Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

    Join & Write a Comment

    Suggested Solutions

    In this article we have discussed about the OS X EI Capitan and how to fix Wi-Fi issue in OS X El Capitan. We have explained how to delete system level preferences and create a new Wi-Fi location to resolve Wi-Fi issue.
    Using in-flight Wi-Fi when you travel? Business travelers beware! In-flight Wi-Fi networks could rip the door right off your digital privacy portal. That’s no joke either, as it might also provide a convenient entrance for bad threat actors.
    This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.
    This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.

    732 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

    Need Help in Real-Time?

    Connect with top rated Experts

    17 Experts available now in Live!

    Get 1:1 Help Now