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
When trying to set center to [37.8, -96], the error is failed to invert the matrix. We should have a saner error because lots of people will trip up on the latlon switch over.
The text was updated successfully, but these errors were encountered:
For future users who hit this error when upgrading from mapbox-gl-js v0.9.x to v0.10.0, the problem is that you have point locations written as literal pairs of [lat, lng]. You need to change these to [lng, lat].
I had these in my new mapboxgl.Map({ center: [ ... ] }), which prevented my entire map from loading but also threw this error hundreds of times as I panned around.
When trying to set center to
[37.8, -96]
, the error isfailed to invert the matrix
. We should have a saner error because lots of people will trip up on the latlon switch over.The text was updated successfully, but these errors were encountered: