Expand my Community achievements bar.

SOLVED

using google autocomplete address

Avatar

Level 2

How can we use google autocomplete address as a component, am i supposed to integrate google maps or just dragon-drop the component? because when i created a component and added the google autocomplete address code, i am not getting any suggestion, is it anything to do with the app key i got from google?

1 Accepted Solution

Avatar

Correct answer by
Administrator

Hi,

Google provide sample to do so.

This problem is same as using third party java-script plugins in AEM.

Link [0]:- https://helpx.adobe.com/experience-manager/using/custom-carousel-components.html

// Creating Custom Carousel components for Adobe Experience Manager

Google Javascript Code:- https://developers.google.com/maps/documentation/javascript/examples/places-autocomplete-addressform

So just add this section in in the [0] and you will get what you are asking for.

I hoe this would work for you.

~kautuk



Kautuk Sahni

View solution in original post

2 Replies

Avatar

Correct answer by
Administrator

Hi,

Google provide sample to do so.

This problem is same as using third party java-script plugins in AEM.

Link [0]:- https://helpx.adobe.com/experience-manager/using/custom-carousel-components.html

// Creating Custom Carousel components for Adobe Experience Manager

Google Javascript Code:- https://developers.google.com/maps/documentation/javascript/examples/places-autocomplete-addressform

So just add this section in in the [0] and you will get what you are asking for.

I hoe this would work for you.

~kautuk



Kautuk Sahni