Title: Problem with Google Maps Integration
Last modified: May 19, 2021

---

# Problem with Google Maps Integration

 *  Resolved [bytefight](https://wordpress.org/support/users/bytefight/)
 * (@bytefight)
 * [5 years ago](https://wordpress.org/support/topic/problem-with-google-maps-integration/)
 * Hey there,
 * We are using a custom google maps integration on our website which is embedded
   in a raw HTML module from the WP Bakery Page Builder. When turned on (Google 
   Maps placeholder and blocker in your plugin) the integration is getting blocked,
   but no overlay is getting shown. Also the map only loads correctly when the specific
   page is visited with given consent. If it is visited without consent there’s 
   a javascript error in the console (function not found; initialize is not a function).
 * Here you can find the code that we inserted in the raw HTML module: [https://pastebin.com/g0wdDvP5](https://pastebin.com/g0wdDvP5)
 * Is it possible to add the overlay to the whole module, so that not only the map
   gets blocked and instead the whole module gets blocked? Maybe by using a snippet
   in functions.php or a mu-plugin?
 * Currently the Google Maps integration is turned off, so that our users can use
   the calculator and map. If you need more information or the integration temporarily
   enabled, tell me!
 * Thanks in advance!
    Jonas

Viewing 7 replies - 1 through 7 (of 7 total)

 *  Thread Starter [bytefight](https://wordpress.org/support/users/bytefight/)
 * (@bytefight)
 * [5 years ago](https://wordpress.org/support/topic/problem-with-google-maps-integration/#post-14458541)
 * Sorry, forgot the link to the website, here it is: [https://taxistuckenbrock.de/preisrechner/](https://taxistuckenbrock.de/preisrechner/)
 *  Plugin Contributor [Jarno Vos](https://wordpress.org/support/users/jarnovos/)
 * (@jarnovos)
 * [5 years ago](https://wordpress.org/support/topic/problem-with-google-maps-integration/#post-14461913)
 * Hello [@bytefight](https://wordpress.org/support/users/bytefight/),
 * In the case of custom implementations of Google Maps, you will need a custom 
   integration to block the scripts.
 * Please find our example integration for custom Google Maps implementations here:
   [https://github.com/Really-Simple-Plugins/complianz-integrations/blob/master/custom-google-maps.php](https://github.com/Really-Simple-Plugins/complianz-integrations/blob/master/custom-google-maps.php)
 * I hope this helps/clarifies.
    Kind regards, Jarno
 *  Thread Starter [bytefight](https://wordpress.org/support/users/bytefight/)
 * (@bytefight)
 * [5 years ago](https://wordpress.org/support/topic/problem-with-google-maps-integration/#post-14463278)
 * Hey there,
 * should this be placed in the functions.php or in an mu-plugin?
 * kind regards,
    Jonas
 *  Plugin Author [Aert](https://wordpress.org/support/users/aahulsebos/)
 * (@aahulsebos)
 * [5 years ago](https://wordpress.org/support/topic/problem-with-google-maps-integration/#post-14466317)
 * Hi [@bytefight](https://wordpress.org/support/users/bytefight/),
 * Preferably a MU plugin. This script is a blueprint for a custom implementation,
   so might need some tweaking.
 * regards Aert
 *  Thread Starter [bytefight](https://wordpress.org/support/users/bytefight/)
 * (@bytefight)
 * [5 years ago](https://wordpress.org/support/topic/problem-with-google-maps-integration/#post-14466389)
 * Hey [@aahulsebos](https://wordpress.org/support/users/aahulsebos/),
 * I think it is working correctly, could you have a look at the page?
 * Thanks for the quick answers!
    Jonas
 *  Plugin Author [Aert](https://wordpress.org/support/users/aahulsebos/)
 * (@aahulsebos)
 * [5 years ago](https://wordpress.org/support/topic/problem-with-google-maps-integration/#post-14475370)
 * Hi [@bytefight](https://wordpress.org/support/users/bytefight/),
 * Yup. Pretty Cool:) -> see [https://complianz.io/changing-the-google-maps-placeholder/](https://complianz.io/changing-the-google-maps-placeholder/)
   if you want to change the placeholder.
 * regards Aert
 *  Plugin Contributor [Mathieu Paapst](https://wordpress.org/support/users/paapst/)
 * (@paapst)
 * [5 years ago](https://wordpress.org/support/topic/problem-with-google-maps-integration/#post-14479389)
 * Hi [@bytefight](https://wordpress.org/support/users/bytefight/) Great to hear
   that your issue is resolved! Could you tell us what you think of the plugin or
   the support by casting [your Review here](https://wordpress.org/support/plugin/complianz-gdpr/reviews/#new-post)?
   We’d love to hear your feedback!

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Problem with Google Maps Integration’ is closed to new replies.

 * ![](https://ps.w.org/complianz-gdpr/assets/icon-256x256.png?rev=2881064)
 * [Complianz - GDPR/CCPA Cookie Consent](https://wordpress.org/plugins/complianz-gdpr/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/complianz-gdpr/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/complianz-gdpr/)
 * [Active Topics](https://wordpress.org/support/plugin/complianz-gdpr/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/complianz-gdpr/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/complianz-gdpr/reviews/)

 * 7 replies
 * 4 participants
 * Last reply from: [Mathieu Paapst](https://wordpress.org/support/users/paapst/)
 * Last activity: [5 years ago](https://wordpress.org/support/topic/problem-with-google-maps-integration/#post-14479389)
 * Status: resolved