Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

Integrate Google map API with AEM

Avatar

Level 2

I am trying to Integrate google map API in clientlib 

whenever I am trying to add external library of google API in script tag, I am getting error,
Uncaught SyntaxError: Unexpected token '<'

<script type="text/javascript" src="https://maps.google.com/maps/api/js"></script>

 

Any suggestions or any reference article  on how to integrate the google map API in AEM?

1 Accepted Solution

Avatar

Correct answer by
Level 4

Hi Kajalinamdarey

 

Please follow this article it has detailed explanation on integrating Google map API with aem :

 

https://aem4beginner.blogspot.com/integration-of-google-map-apis

 

Hope this helps.

Thanks,

Mahesh 

 

 

 

 

 

 

View solution in original post

3 Replies

Avatar

Correct answer by
Level 4

Hi Kajalinamdarey

 

Please follow this article it has detailed explanation on integrating Google map API with aem :

 

https://aem4beginner.blogspot.com/integration-of-google-map-apis

 

Hope this helps.

Thanks,

Mahesh 

 

 

 

 

 

 

Avatar

Employee Advisor

@KajalInamdarEy copy the google api js to a file in the client libs. It will load along with other js.