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?

I’m sorry for the delay. Please try using the hivepress.initGeolocation function instead, then it will affect the map-related features only without re-rendering all the elements. You can find this function here https://github.com/hivepress/hivepress-geolocation/blob/master/assets/js/common.js

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.