Open cskau opened 11 months ago
TileServerHandlerhas an attribute, update_cache which is hardcoded to False. https://github.com/enzet/map-machine/blob/825eb34191ebdfcd5a634806a39b4aa536f9d430/map_machine/slippy/server.py#L22
TileServerHandler
update_cache
False
This prevents the map-machine server command from serving tiles that aren't already in the cache: https://github.com/enzet/map-machine/blob/825eb34191ebdfcd5a634806a39b4aa536f9d430/map_machine/slippy/server.py#L48-L60
map-machine server
This PR exposes update_cache as a command line flag.
TileServerHandler
has an attribute,update_cache
which is hardcoded toFalse
. https://github.com/enzet/map-machine/blob/825eb34191ebdfcd5a634806a39b4aa536f9d430/map_machine/slippy/server.py#L22This prevents the
map-machine server
command from serving tiles that aren't already in the cache: https://github.com/enzet/map-machine/blob/825eb34191ebdfcd5a634806a39b4aa536f9d430/map_machine/slippy/server.py#L48-L60This PR exposes
update_cache
as a command line flag.