Skip to content
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

Imported data causing Map page to fail #337

Open
andrewvaughan opened this issue Dec 26, 2023 · 0 comments
Open

Imported data causing Map page to fail #337

andrewvaughan opened this issue Dec 26, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@andrewvaughan
Copy link

I imported GED data from another application, which seems to have worked swimmingly, except something is causing the Maps page to fail.

The error in the console when loading the map is:

Uncaught (in promise) Error: Invalid LatLng object: (NaN, NaN)
    at new Lp (3124eda5.js:3456:7237)
    at J.updated (3124eda5.js:3468:1699)
    at J._$AE (3124eda5.js:2:6340)
    at J.performUpdate (3124eda5.js:2:6120)
    at J.scheduleUpdate (3124eda5.js:2:5702)
    at J._$EC (3124eda5.js:2:5610)

I looked through all of my Places and there doesn't seem to be anything malformed in there; however, there are definitely informal places in the list that would likely result in a null search result from any API being used to look up lat/long.

My guess is that the Maps feature does not adequately manage when lat/long return NaN - my guess from a parseFloat or similar call. When this occurs, the entire Maps page fails to load, as JS execution halts.

@DavidMStraub DavidMStraub added the bug Something isn't working label Dec 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants