Ramblings

Delphi Programming Observations

Source Code License About Contact

Wednesday, October 29, 2008

Interact with Google Maps in a TWebBrowser from Delphi

Here is a simple program to show how you can “host” google maps in a TWebBrowser and interact with it from a Delphi application.

Download the Delphi project

GoogleMapsTest Program Screenshot

GoogleMapsTest Program Screenshot

I saw a recent newsgroup post at borland.public.delphi.language.delphi.general Google Maps geocoding service with TWebBrowser and I had seen some interesting posts by former CodeGear employee Steve Trefethen (Using Google Maps From a Windows Client Application). Having played a little with googlemaps hosted in a webpage, and also with a TWebBrowser in a Delphi application hooking into JavaScript events, I thought I would throw together a little test app to at least have one full working example for people to look at.
(more…)

posted by Jason at 10:12 pm  

Powered by WordPress