Love the Map template and have been using it for a couple years now. Just recently, though, when I try to load it in a module (rather than in content/component), it fails to load completely and I get the following error (in the Chrome inspect Console): Uncaught ReferenceError: Google is not defined
You can view it on our test site here: https://www.evergreenmtb.org/a-test/education
Through comparing page source for the pages where it does work (component) and where it doesn't (module) I figured out that the Google API does not load, i.e. this code is missing from the head:
I was able to add a BeforeRender field to the search form of the search/list with a couple lines of code that add this script to the head (which resolves the issue) but it's a work-around, which should not be required.
Anyone else with this issue?
What can I check on or adjust? (E.g. plugin ordering, config, etc.?)
(I have disabled most of the 3rd party plugins, like those for caching, optimizations, etc. but the error prevailed.) Thanks a ton for any pointers.