- Issue created by @omahm
- Merge request !40Implement IntersectionObserver option for conditional initialization → (Merged) created by omahm
- last update
about 1 year ago 38 pass, 2 fail - 🇬🇧United Kingdom omahm Belfast
Implemented IntersectionObserver to delay loading of maps until visible in the browser with Threshold option as part of the display settings.
This is working but the map is zoomed out (same with the custom and button options) and I suspect this is due to the google.maps.Marker is deprecated 📌 google.maps.Marker is deprecated Active issue.
- First commit to issue fork.
- last update
about 1 year ago 38 pass, 2 fail - Status changed to Needs work
about 1 year ago 6:59am 6 March 2024 - 🇩🇪Germany christianadamski Berlin, Germany
Brilliant idea!
Minimally altered JS. Only thing left is adding conditional_viewport_threshold to config/schema/geolocation.data_types.schema.yml as float to geolocation_map_provder section.
Not at my PC right now, can't do it myself
- last update
about 1 year ago 40 pass - Status changed to Fixed
about 1 year ago 9:29am 6 March 2024 - 🇬🇧United Kingdom omahm Belfast
Many thanks Christian,
I created a 4.x branch for https://www.drupal.org/project/geolocation/issues/3423933 📌 google.maps.Marker is deprecated Active and updated some of the JS and node package requirements but it's still not working. Do you know when you'll get a chance to look at this as it affects the map marker settings? Automatically closed - issue fixed for 2 weeks with no activity.