Anyway to prevent Alpine from calling the maps.googleapi.com script?

James Karger's picture
James Karger
Tue, 07/05/2016 - 02:13
#1
Anyway to prevent Alpine from calling the maps.googleapi.com script?

Part of my webpage uses the GMAP module for displaying locations, when I use your theme it freezes the GMAP module because it is calling the maps.googleapi.com script even when there is not a map shown via the Alpine theme.  What I need to know is where is this <script> being added so I can remove it to prevent loading the script twice. 

Thanks

James Karger's picture
James Karger
Tue, 07/05/2016 - 02:15

Basically where is this being added?

Image title

phuonght's picture
phuonght
Tue, 07/05/2016 - 22:38

Hi,

You can try following solution:

Go to /sites/all/modules/custom/md_awecontent/awecontent.module, find line 1572 then delete 

drupal_add_js('https://maps.googleapis.com/maps/api/js?v=3.exp');

Log in or register to post comments
Have More Idea?

We are here to build your website!

No Universal solution fits all special business requirements. Our experienced team is ready with ideas and state-of-the-art technical solutions to consult the best solution within your budget.