Support options for tile layers in mod_tile.

If a tile layer has options enabled, the URL changes to

http://localhost/style/options/z/x/y.ext
This commit is contained in:
Kai Krueger
2013-10-13 23:23:10 -06:00
parent fdc317a8f3
commit 5941e23ced
3 changed files with 44 additions and 17 deletions

View File

@ -115,8 +115,8 @@ enum protoCmd rx_request(struct protocol *req, int fd)
return cmdNotDone;
}
syslog(LOG_DEBUG, "DEBUG: Got command %s fd(%d) xml(%s), z(%d), x(%d), y(%d)",
cmdStr(req->cmd), fd, req->xmlname, req->z, req->x, req->y);
syslog(LOG_DEBUG, "DEBUG: Got command %s fd(%d) xml(%s), z(%d), x(%d), y(%d), mime(%s), options(%s)",
cmdStr(req->cmd), fd, req->xmlname, req->z, req->x, req->y, req->mimetype, req->options);
if ((req->cmd != cmdRender) && (req->cmd != cmdRenderPrio) && (req->cmd != cmdRenderLow) && (req->cmd != cmdDirty) && (req->cmd != cmdRenderBulk)) {
syslog(LOG_WARNING, "WARNING: Ignoring unknown command %s fd(%d) xml(%s), z(%d), x(%d), y(%d)",