[Google Places API Integration] Demo

Forge Component
(1)
Published on 14 Jan by Nikhil Gaur
1 vote
Published on 14 Jan by Nikhil Gaur

Hello,

There is any demo of this component?


Thanks.


BR,

Luis

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.

Solution

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.



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

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.



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"
        ]
      }