getTile will accept strings for coordinate numbers
mryellow opened this issue · comments
mryellow commented
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()
.
Volodymyr Agafonkin commented
Looks like this was fixed in #128