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
See this notebook: https://observablehq.com/@mattijn/single-point-has-no-extent
Basically:
p = d3.geoMercator() p.fitExtent( [[0,0],[500,500]], {"type": "Feature", "geometry": {"type": "Point", "coordinates": [4.8885, 52.4039]}} ) p.scale() // Infinity p.translate() // [-Infinity, Infinity]
Not sure if it is by design or unwanted behaviour. I understand its hard to compute an extent of a single point.
First raised in vega/vega-lite#5318
The text was updated successfully, but these errors were encountered:
yes it could be nice to have another argument for an "inset" (in degrees) around the feature
related: this suggestion for an inset in pixels #162
Sorry, something went wrong.
No branches or pull requests
See this notebook: https://observablehq.com/@mattijn/single-point-has-no-extent
Basically:
Not sure if it is by design or unwanted behaviour. I understand its hard to compute an extent of a single point.
First raised in vega/vega-lite#5318
The text was updated successfully, but these errors were encountered: