Google Map not loading on Ajax load

Created on 19 August 2014, over 10 years ago
Updated 8 January 2025, 27 days ago

TypeError: google.maps.InfoWindow is not a constructor
TypeError: google.maps.MapTypeId is undefined
I get this error when I reference a node with location field attached and "Inline entity form - Multiple Values" loads the data using AJAX.

For example:
If I create a new node and the referenced fields loads up then I don't get this problem.
but when I edited the node and edited the referenced field or click "Add new node" then I get this error.

It seems that google maps javascript is not being loaded on AJAX request.

I'm not sure yet if this is an issue with Inline Entity Form, GMAP or Location module.

πŸ› Bug report
Status

Closed: outdated

Version

1.0

Component

Code

Created by

πŸ‡΅πŸ‡­Philippines mjgruta

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡ΊπŸ‡ΈUnited States dcam

    Since Drupal 7 is now end-of-life I am closing some old issues for the 7.x branch of this module. If this issue is still relevant for the 3.x branch of the module, then feel free to reopen it.

Production build 0.71.5 2024