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?
Solved! Go to Solution.
Views
Replies
Total Likes
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
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
@KajalInamdarEy copy the google api js to a file in the client libs. It will load along with other js.
check if this helps