Skip to content

Map not loading #171

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Mahe33 opened this issue Jan 19, 2024 · 5 comments
Open

Map not loading #171

Mahe33 opened this issue Jan 19, 2024 · 5 comments

Comments

@Mahe33
Copy link

Mahe33 commented Jan 19, 2024

Hi I am trying to run the map in Qualtrics. But it doesn't work. Could you help me with this issue? Do I need to install dependencies first? I am not a coder any help would be appreciated. Thank you!

@Mahe33
Copy link
Author

Mahe33 commented Jan 19, 2024

I get an error as 403 (Forbidden) with the bundle.txt file which I added to my Qualtrics library.

@skull3r7
Copy link

skull3r7 commented Jan 25, 2024

Similar problem here. Problem has been occurring for about 2 weeks. No problems before that.
When initializing the map, the following error is thrown (Javascript in Web-Dev-Console):

Uncaught TypeError: Cannot read properties of null (reading 'removeChild') at c (prototype.45d699cfb71157c2bc5a.js:1:30423) at HTMLSpanElement._methodized [as remove] (prototype.45d699cfb71157c2bc5a.js:1:6863) at fo.<anonymous> (map.js:107:425) at _.Kt (common.js:31:155) at xE.Ig (map.js:107:332) at IntersectionObserver.<anonymous> (js?key=APIKEY&v=weekly&libraries=places&callback=initMap:254:347)

Is this a problem with Google Maps itself or with the extension?

@keita-makino
Copy link
Owner

I think I have identified the issue.

In short, the map component tries to add a span HTML element during the initialization. Qualtrics seemed to recently change the code to check if there's a parent element whenever an element is added to the page but the span element does not have one so it stops.

I'm going to see if there are good workarounds and will let you know when I have a one.

@Mahe33
Copy link
Author

Mahe33 commented Feb 1, 2024

Thank you very much, Keita. looking forward to it.

@keita-makino
Copy link
Owner

I updated the component to 3.0.1 which now uses Mapbox instead of Google Maps. Please try it out if you are still interested.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants