Skip to content

Configurable precision for d3.geoPath #271

@mbostock

Description

@mbostock

As with d3.pathFixed d3/d3-path#12, we should have a way to limit the precision of the strings generated by d3.geoPath. Currently that is implemented by the PathString class:

https://github.com/d3/d3-geo/blob/main/src/path/string.js

We should probably default to three decimal digits of precision, too.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions