centralize tile creation logic in MergedLayerDecorator (5/5)
author Bernhard Beschow
()
committer Bernhard Beschow
()
commit 6c119b54bc103d021cc5ade0d2a6caa3ff4c80cc
tree 28d348dba982a6f55c1b1ca1ff72ac20381bb1ab
parent 360fac1559ba854544c9322d1ecec3fcca7b87d0
centralize tile creation logic in MergedLayerDecorator (5/5)

have StackedTileLoader only depend on MergedLayerDecorator
* instantiate MLD in TextureLayer and pass by pointer (inversion of control)
* we now have stack (top to bottom): (TextureMapperInterface ->) StackedTileLoader -> MergedLayerDecorator -> TileLoader (-> HttpDownloadManager)
src/lib/StackedTileLoader.cpp
src/lib/StackedTileLoader.h
src/lib/layers/TextureLayer.cpp