Announcement

Collapse
No announcement yet.

google places autocomplete via Programmierung

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • google places autocomplete via Programmierung

    Hallo !

    ich habe folgenden Code, um die Adressvorschläge der Google Places API via code zu erhalten (kein Dropdown Menu mit Vorschlägen):

    https://jsfiddle.net/djefx35w/

    Hier bekomme ich die Adressvorschläge als console.log übergeben.
    Allerdings fehlen mir in den Vorschlägen die Postleitzahlen.

    Mache ich hier einen Fehler?
    Wie komme ich an die PLZ?

  • #2
    To get the location and more information about any of the places which are returned (when a user select the place in the pick list for example), you need to send a Place Details request with getDatails(request, callback) specifying the place_id and wanted fields to be returned.
    Christian

    Comment


    • #3
      Is there an example available ?

      Comment


      • #4
        ??
        Aufgrund deiner Frage kurz gegooglt. Nein ich habe keine Beispiele
        Christian

        Comment

        Working...
        X