- Issue created by @flefle
- 🇩🇪Germany christianadamski Berlin, Germany
Works locally in current -dev.
Any opinion? Will close in a few days if this solved itself.
Make Geolocation Field - Google Maps work within Paragraphs
Create a Paragraph containing Geolocation Field - Google Maps Widget -> try to add such Content via Modal (Paragraphs) edit
Make Geolocation Field work also within Ajax / Paragraphs Context and solve the missing Function Issue.
Here is what I found out:
After adding a Geolocation Field into Paragraph Field Bundle, while editing this Field via Paragraphs Modal Field, the following JS error is triggered:
main.js:159 Uncaught (in promise) InvalidValueError: DrupalGeolocationGoogleLoader is not a function
at Object.xj (main.js:159:123)
at Ffa (main.js:254:180)
at main.js:253:229
After some research, I found out that the JS Function is missing since it is added into Header as (but not while called over Ajax @ Paragraphs Modual Edit):
geolocation/modules/geolocation_google_maps/src/Plugin/geolocation/MapProvider/GoogleMaps.php -> alterRenderArray:174
Is there a fix for this?
Active
4.0
Geolocation Field / Backend
Works locally in current -dev.
Any opinion? Will close in a few days if this solved itself.