Skip to content

d3.geoIdentity() doesn't implement projection.center #219

@wahlatlas

Description

@wahlatlas

Is it by design, that d3.geoIdentity() doesn't implement projection.center?

Using Mike's example code for projection transition at
https://stackoverflow.com/questions/17045826/how-to-do-smooth-transition-for-map-reprojection-in-d3-js
I ran into problems transitioning from an identity projection.
Was easily fixed by disabling all references to projection.center
but wanted to understand what I am missing here.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions