![]() |
acces google map
Hi
i would like to access the google map onbuttonclick,i got the error "HTTP/1.1 403 Forbidden" , i have debug the whole program and the error comes after the following line
Code:
i have also tried with other format and other url such as
var
urlLink, apikey :String HTTP : TIdHTTP; urlLink:= HTTP.Get('http://maps.google.com/maps/geo?q='+theAddress+'&output=csv&key=+apikey); ![]() does anybody can give me some suggestions please,concerning this error |
AW: acces google map
|
AW: acces google map
If this is still an issue, try to change the UserAgent in idHTTP.Request.UserAgent from "Mozilla/3.0 (compatible; Indy Library)" to something else (e.g. without "Indy Library"). I had the same problem today with Open Street Maps and it seems that these UserAgent is blacklisted on their servers.
|
Alle Zeitangaben in WEZ +1. Es ist jetzt 21:55 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz