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
turf.extent(areas) // [-8.607227544131755,49.91001820137803,1.7629159475701766,60.84535348677859] d3.geoBounds(areas) // [[-8.607227544131755,49.91001820137803],[1.7629159475701766,60.84535348677859]]
It looks like we could avoid the 546 kB Turf JavaScript file by using d3.geoBounds.
d3.geoBounds
The text was updated successfully, but these errors were encountered:
Hmmmm... I think the Turf function might run a lot faster than the D3 function. The D3 one does lots of fancy maths: https://www.jasondavies.com/maps/bounds/
Sorry, something went wrong.
Possibly faster than D3: https://stackoverflow.com/a/35692917
No branches or pull requests
It looks like we could avoid the 546 kB Turf JavaScript file by using
d3.geoBounds
.The text was updated successfully, but these errors were encountered: