Skip to content


URL match regex in example tile.js not matching #90

txau opened this Issue · 1 comment

2 participants


(line 5) matches = req.url.match(/(\d+)\/(\d+)\/(\d+)/g);

This is not working for me providing an url such as: (please correct me if I'm missing something)

It works perfectly with query string:

I've fixed it changing the expression to:

matches = req.url.match(/(\d+)/g);

Mapnik member

okay, thanks I will take a look.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.