AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Thema durchsuchen
Ansicht
Themen-Optionen

acces google map

Ein Thema von question · begonnen am 12. Sep 2013 · letzter Beitrag vom 5. Dez 2013
Antwort Antwort
question

Registriert seit: 17. Apr 2013
97 Beiträge
 
#1

acces google map

  Alt 12. Sep 2013, 15:35
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:
var
 urlLink, apikey :String
 HTTP : TIdHTTP;
urlLink:= HTTP.Get('http://maps.google.com/maps/geo?q='+theAddress+'&output=csv&key=+apikey);
i have also tried with other format and other url such as http://maps.googleapis.com/maps/api/... but i got the error still now
does anybody can give me some suggestions please,concerning this error
  Mit Zitat antworten Zitat
Benutzerbild von DeddyH
DeddyH

Registriert seit: 17. Sep 2006
Ort: Barchfeld
27.542 Beiträge
 
Delphi 11 Alexandria
 
#2

AW: acces google map

  Alt 12. Sep 2013, 15:44
http://www.delphipraxis.net/157004-g...ect-model.html
Detlef
"Ich habe Angst vor dem Tag, an dem die Technologie unsere menschlichen Interaktionen übertrumpft. Die Welt wird eine Generation von Idioten bekommen." (Albert Einstein)
Dieser Tag ist längst gekommen
  Mit Zitat antworten Zitat
kretabiker

Registriert seit: 10. Mär 2005
Ort: Bargteheide
183 Beiträge
 
Delphi 11 Alexandria
 
#3

AW: acces google map

  Alt 5. Dez 2013, 10:44
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.
Udo Treichel
  Mit Zitat antworten Zitat
Antwort Antwort


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 10:56 Uhr.
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz