- 🇩🇪Germany thomaswalther Rhein-Main Area
Please make it DSGVO conform.
This means: external libraries must be allowed before loading.
I fixed it very dirty with these lines, and after that I load the map manually:
cd DRUPAL_WEBROOT sed -i -e s/'"geolocation-map-container'/'"NOTALLOWgeolocation-map-container'/ modules/contrib/geolocation/templates/geolocation-map-wrapper.html.twig sed -i -e s/' js-show'/' NOTALLOWjs-show'/ modules/contrib/geolocation/templates/geolocation-map-wrapper.html.twig sed -i -e s/'attach: function (context, drupalSettings) {'/'attach: function (context, drupalSettings) {\n return false;'/ modules/contrib/geolocation/js/geolocation-map.js sed -i -e s/'$libraries = \[\];'/'$libraries = \[\];\ return $libraries;'/ modules/contrib/geolocation/modules/geolocation_google_maps/geolocation_google_maps.module
- 🇩🇪Germany christianadamski Berlin, Germany
It's already build in v4. See under map settings "Conditional initialization"