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
{{ message }}
This repository has been archived by the owner on Dec 3, 2019. It is now read-only.
size is [0, 0] for point bounds. Then scaleY / scaleY becomes Infinity and from there it all goes sideways.
A default scale parameter / value would fix this. I would prefer a parameter, since a point can be displayed at any scale, but applications might be different based on your use case.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Currently, there isn't support for a single point to the
fitBounds
function.We get an assertion error if we were to do
My issue and use case is similar to that of mapbox-gl issue #3307.
Would it be possible to do something where we center around that point if a single point is passed in?
The text was updated successfully, but these errors were encountered: