You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It might be preferable for strings to work as well as numbers for creating LatLng objects (in some cases they do), but regardless they shouldn't cause infinite recursion and browser crashes, as this line does in Firefox and Safari:
var bounds = L.latLngBounds(['38.80', '-77.12'], ['38.99', '-76.91']);
The problem is that L.LatLngBounds.extend() calls L.latLngBounds() if its argument is not either a LatLng or an array with a number as the first element. It needs to either convert strings to floats or at least give an error when a string is passed.