We help IT Professionals succeed at work.

We've partnered with Certified Experts, Carl Webster and Richard Faulkner, to bring you two Citrix podcasts. Learn about 2020 trends and get answers to your biggest Citrix questions!Listen Now

x

Use Googlemap from my Delphi application ?

d98rolb
d98rolb asked
on
Medium Priority
684 Views
Last Modified: 2013-11-23
 0  vote down
star
      

I'm a member in a team that maintains a quite big inhouse Delphi application. Now we have started to look at mapsupport. And we feel that Googlemap seems to be the best value for the money compared to some map components. The current solution (that is really bad) works by starting Internet Explorer from ShellExecute, load some coordinates in the Googlemap URL. Then Google map display the best direction to drive through the coordinates.

It works, but it can be slow if the the amount of coordinates is higher than say 10. Besides that there seems to big memleaks in IE...

Another option is to use TWebBrowser component instead and load a Googlemap html-file to show the same thing. Yes I know Googlemaps license policy and we are prepared to pay Google the price when the solution is used in reality.

Right now I have registed a API-key for my own site just for test. I also found that it works to load a local html-file. From Javascript I can call GUnload to eliminate the memleaks according Googlemap documentation. As the API-key is bound to a domain or a local-file I guess I have to save a javascriptfile with coordinates and then load it in TWebBrowser for every call to the map. I found this clumsy, but I see no other way... ?

Is there other options to use Googlemaps? I don't know other html-components for Delphi than TWebBrowser due to bad performance and memorymanagement. I would like to use a Mozilla component but it seems to be only for C++.

Comments and advice about this ?
Comment
Watch Question

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.