Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

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.