mirror of
https://github.com/openstreetmap/mod_tile.git
synced 2025-08-12 02:41:14 +00:00
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:
@ -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)",
|
||||
|
Reference in New Issue
Block a user