mapbox/geojson-vt

getTile will accept strings for coordinate numbers

Closed this issue · 1 comments

I was wrongly passing in strings and took quite awhile to realise the mistake.

Results in nonsensical "ID" which won't match tiles.

Either validation could error when one passes a string to args of getTile(z, x, y) or perhaps they could simply be cast to numbers with parseInt().

Looks like this was fixed in #128