From c483bb699c85dfdfffef93be03ee16ede6f62f31 Mon Sep 17 00:00:00 2001 From: NatureFreshMilk Date: Fri, 18 Jan 2019 09:12:51 +0100 Subject: [PATCH] conditional initial rendering --- main.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/main.go b/main.go index 6556b67..36b4335 100644 --- a/main.go +++ b/main.go @@ -56,7 +56,8 @@ func main() { } //run initial rendering - - initialrenderer.Render(ctx.Tilerenderer, layerconfig.DefaultLayers) + if ctx.Config.EnableInitialRendering { + initialrenderer.Render(ctx.Tilerenderer, layerconfig.DefaultLayers) + } }