hi i need to block the google maps until the user give me the consent for cookie.
where is the script for google maps in enfold i need to add some attribute to make it compatible with a plugin.
i need to find this part
<script id='avia_gmaps_framework_globals' type='text/javascript'>var avia_framework_globals = avia_framework_globals || {};
thankyou
Hey weasyweb2015,
https://cl.ly/e38d8bf89d37 This code is in /enfold/framework/php/class-gmaps.php
If you need further assistance please let us know.
Best regards,
Victoria
yes i need to block my maps added via iframe for gdpr rules
i need the consent of the user and block cookie and all data sent to google in order to show the map. can you help me please?
Hi,
If you use the default google maps element you simply need to select the “User must accept to show” setting ( https://screenshotscdn.firefoxusercontent.com/images/67dd5b2a-eea7-4c88-bd07-f47fc370e8c0.png ) to make the map gdpr proof. Enfold then does not load and initialize the map scripts before the user clicks on a button.
It’s not easily possible to add this logic to an iframe.
Best regards,
Peter