From 0a702d240c1042f84bd3e4f417d2481a3b972e1e Mon Sep 17 00:00:00 2001 From: NatureFreshMilk Date: Fri, 18 Jan 2019 15:10:46 +0100 Subject: [PATCH] mapobjects stub --- initialrenderer/renderer.go | 5 ++--- mapblockaccessor/mapblockaccessor.go | 14 +++++++------- mapdb/accessor.go | 9 ++++++--- mapobject/clearmapdata.go | 18 ++++++++++++++++++ mapobject/poi.go | 27 +++++++++++++++++++++++++++ params/params.go | 2 +- 6 files changed, 61 insertions(+), 14 deletions(-) create mode 100644 mapobject/clearmapdata.go create mode 100644 mapobject/poi.go diff --git a/initialrenderer/renderer.go b/initialrenderer/renderer.go index 53f507d..3c21a1a 100644 --- a/initialrenderer/renderer.go +++ b/initialrenderer/renderer.go @@ -26,12 +26,11 @@ func Render(tr *tilerenderer.TileRenderer, jobs := make(chan coords.TileCoords, 100) fields := logrus.Fields{ - "workers": runtime.NumCPU(), + "workers": runtime.NumCPU(), } logrus.WithFields(fields).Info("Starting initial render progress") - - for i := 0; i