Google Map Integration and downloading in AEM | Community
Skip to main content
Himanshu_Singhal
Community Advisor
Community Advisor
June 19, 2016

Google Map Integration and downloading in AEM

  • June 19, 2016
  • 3 replies
  • 5428 views

Hey,

I need to integrate google map with AEM and also need to provide a button to download map offline.

I've found references of how to integrate google map with AEM. 

Need to know how to implement offline downloading as pdf of google map.

Thanks,

Himanshu

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

3 replies

kautuk_sahni
Community Manager
Community Manager
June 20, 2016

Hi 

Offline:- Caching google maps javascript is not allowed, that's because their payment system is based on how many times their javascript API are loaded by the users. One page refresh is equal to one google maps API call, and depending what kind of contract you made you just lost -1 from the total amount of API requests you have purchased. Google doesn't offer an offline version of the Maps API as is. Maps JavaScript API requires an Internet connection to download all the geospatial information it needs to properly display the map. This information cannot be stored and/or served offline.

Solution to your problem are

1. Gmapcatcher :- https://code.google.com/p/gmapcatcher/

//GMapCatcher is an offline maps viewer. It can display maps from many providers such as: CloudMade, OpenStreetMap, Yahoo Maps, Bing Maps, Nokia Maps, SkyVector but not the Google Map

2. http://code.google.com/p/ogmaps/

3. http://code.google.com/p/gmapoffline/

4. Lastly, if Google Earth can meet your needs, then you can use that. Offline usage of Google Earth requires a Google Earth Enterprise license according to http://www.google.com/permissions/geoguidelines.html.

 

Coming back to AEM integration with Google Maps, Please find below the reference links for it:-

Link:- http://help-forums.adobe.com/content/adobeforums/en/experience-manager-forum/adobe-experience-manager.topic.html/forum__e2rg-for_integratingast.html

Link:- https://helpx.adobe.com/experience-manager/using/integrating-custom-cq-widgets-third-party.html

//Integrating custom CQ widgets with third-party libraries

Link:- http://aemtechdev.blogspot.in/2016/01/integrate-google-map-api-library-with_14.html

// Project of AEM with Google Maps

 

I hope this will help you.

Thanks and Regards

Kautuk Sahni
kautuk_sahni
Community Manager
Community Manager
June 23, 2016

Hi

Can you please look at the answers posted and let us know if this worked for you or not.

If you have devised another way to resolve the issue, please post it in the community for communities benefit.

 

Thanks and Regards

Kautuk Sahni

Kautuk Sahni
Himanshu_Singhal
Community Advisor
Community Advisor
June 25, 2016

I'm still working on the exact requirement. Once, it gets finalized and works accordingly then will post it.

Regards,

Himanshu

kautuk_sahni
Community Manager
Community Manager
June 27, 2016

himanshusinghal wrote...

I'm still working on the exact requirement. Once, it gets finalized and works accordingly then will post it.

Regards,

Himanshu

 

Sure, Please share it once it is ready.

Kautuk Sahni
Level 3
August 2, 2016

It might not be what you need. It is possible to display the map as a static image on the page. https://developers.google.com/maps/documentation/static-maps/

kautuk_sahni
Community Manager
Community Manager
August 2, 2016

coolpaul wrote...

It might not be what you need. It is possible to display the map as a static image on the page. https://developers.google.com/maps/documentation/static-maps/

 

Hi Paul, 

This is good to know. 

Just for my information, do this also saves bandwidth and page load performance WRT to non Static ?

~kautuk

Kautuk Sahni