We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
mapbox-gl-js version: 0.52.0
browser: Any
toBounds
https://jsfiddle.net/Lzuj0t8f/
No errors, bounds object containing the point.
Uncaught Error: Invalid LngLat object: (NaN, NaN)
My suggestion is to set radius default value to 0. I'll submit a PR :)
radius
0
The text was updated successfully, but these errors were encountered:
No branches or pull requests
mapbox-gl-js version: 0.52.0
browser: Any
Steps to Trigger Behavior
toBounds
method without paramsLink to Demonstration
https://jsfiddle.net/Lzuj0t8f/
Expected Behavior
No errors, bounds object containing the point.
Actual Behavior
Suggested solution
My suggestion is to set
radius
default value to0
.I'll submit a PR :)
The text was updated successfully, but these errors were encountered: