using google autocomplete address | Community
Skip to main content
October 20, 2016
Solved

using google autocomplete address

  • October 20, 2016
  • 2 replies
  • 1425 views

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?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by kautuk_sahni

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

2 replies

kautuk_sahni
Community Manager
kautuk_sahniCommunity ManagerAccepted solution
Community Manager
October 20, 2016

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
smacdonald2008
October 20, 2016

You embed Google APIs into AEM. See this article as an example -- 

http://scottsdigitalcommunity.blogspot.ca/2012/06/integrating-custom-cq-widgets-with.html

Hope this helps...