Skip to content
New issue

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

geoViewport.bounds function always returns null #16

Open
amason0528 opened this issue Feb 2, 2018 · 2 comments
Open

geoViewport.bounds function always returns null #16

amason0528 opened this issue Feb 2, 2018 · 2 comments

Comments

@amason0528
Copy link

amason0528 commented Feb 2, 2018

I used this function with center - [5.2912, 52.1326], zoom - 6.3.

It always returns [NaN, NaN, NaN, NaN]

@stdavis
Copy link

stdavis commented Apr 3, 2018

Try rounding your zoom level to the nearest integer (ref #5).

@timiyay
Copy link
Contributor

timiyay commented May 29, 2018

This issue should now be fixed by #19, which adds support for float zoom levels in bounds().

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants