47
Views
6
Comments
Solved
[Google Places API Integration] Demo
Question
google-places-api-integration
Reactive icon
Forge asset by Nikhil Gaur

Hello,

There is any demo of this component?


Thanks.


BR,

Luis

2020-03-01 17-52-33
Nikhil Gaur
Solution

Hi Luis,

I haven't published the sample aapplication yet. But here is one for your reference. I will also publish it on forge so that others can also use it.

GooglePlaceAutocompleteSample.oml
2021-07-14 09-27-33
Luís Cardoso

Hi!

Do you have any example for mobile app?

thanks


Nikhil Gaur wrote:

Hi Luis,

I haven't published the sample aapplication yet. But here is one for your reference. I will also publish it on forge so that others can also use it.



2020-03-01 17-52-33
Nikhil Gaur

This is a reactive web app sample so mobile implementation will be exactly same.

2021-07-14 09-27-33
Luís Cardoso

Yes. I will try it on mobile. Thanks!


Nikhil Gaur wrote:

This is a reactive web app sample so mobile implementation will be exactly same.



UserImage.jpg
Dinesh R

Hi, I tried in mobile app. Data filled in place object. But not listing as autocomplete in mobile app. please share your comments

UserImage.jpg
Daan de Wit

Hello,

First of all, many thanks for the example/demo.
I'd like to retrieve some extra values from the results which are part from the address_components segment. 

Do you know how I can assign the value long_name value from types postal_code as the results needs to be filtered on "type".  Please find below the output of the response and attached the screenshot of the REST API.

{
        "long_name": "Netherlands",
        "short_name": "NL",
        "types": [
          "country",
          "political"
        ]
      },
      {
        "long_name": "1008 DG",
        "short_name": "1008 DG",
        "types": [
          "postal_code"
        ]
      }


postalcode.jpg
Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.