...
The previously mentioned example functions because we have imitated the google.maps.Map functionality (code section "Mock Implementation"). This way we can find out where the Privacy Smart Blocker has to be integrated. If there has been Consent given, init_map
is called again by the actual Google Maps API script, which is set in the callback parameter of the URL. In this case the API is ready and the actual implementation (code section "Real Implementation") is integrated.