springmeyer / arc.js

great circle routes in javascript
http://springmeyer.github.io/arc.js/
BSD 2-Clause "Simplified" License
369 stars 69 forks source link

Demo site hits javascript error with Safari #46

Closed springmeyer closed 2 years ago

springmeyer commented 2 years ago

I just noticed that the demo site works for me in Chrome, but not Safari (on a Mac).

One point is able to be plotted, but not a second (so no arc is drawn). The error in the console is:

Error: Invalid LatLng object: (NaN, NaN)
Screen Shot 2022-07-08 at 8 04 06 PM

Don't have time to debug this right now, so just filing the ticket as a reminder in case I find time in the future to debug, or others do.