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
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