Skip to content

Separate z/x/y from decoding logic #7

Description

@springmeyer

We should follow the lead of both https://github.com/mapbox/vector-tile-js and https://github.com/mapbox/vector-tile when organizing decoding logic. Instead of passing in the z/x/y into the decoder as an argument we want to offer a decoder that is agnostic to the geographical location and works primarily in tile coordinates. Only when doing something like converting to GeoJSON would the z/x/y would be needed and it should be passed in on-demand like https://github.com/mapbox/vector-tile-js/blob/b7abef267dc60977a25a8374c0b0a79f41acf344/lib/vectortilefeature.js#L129-L145

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

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