Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
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 3

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 3

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.