Skip to content

Separate z/x/y from decoding logic #7

@springmeyer

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions