10
votes
Using Google maps (Static Maps) without TWebBrowser
The Road to Delphi
– Commonly we use the twebbrowser component to access google maps, but there is another option, using the Google Static Map service. The Google Static Map service allows you get an static image from a location without requiring JavaScript or any dynamic page loading. The Google Static Map service creates your map based on URL parameters sent through a standard HTTP request. So the code to interact with this service is fairly easy. all we need is an TIdHTTP and a TImage component. First we need to set the TIdHTTP property UserAgent (the UserAgent is what a browser uses to identify itself to the ...
Statistics
|
Visits by Source |
User Actions |




