Function for map initialization

Hi,

I try to integrate consent management plugin Complianz to block google maps before consent.
I’m using:

  • rentalhive theme 1.7.1 + geolocation extension 1.3.7;
  • complianz 6.5.5

But now I am stuck on re-initializing the map after consent. Complianz support team is using hivepress.initUI() function, but it seems that it causes some other issues ( here is the thread) . Is there alternative method for map initialization? Or maybe you can advise something more appropriate?

Best regards

any updates?