public void Setup()
        {
            _boundingBox = BoundingBox.Create(TestHelper.BerlinTestFilePoint, 500);
            var indexBuilder = new InMemoryIndexBuilder(_boundingBox,
                                                        TestHelper.GetIndexSettings(), TestHelper.GetObjectPool(), new ConsoleTrace());

            indexBuilder.Build();

            _editor = new ElementSourceEditor();
            _editor.ElementSource = _elementSource = new ElementSource(indexBuilder);
        }
Exemplo n.º 2
0
 public TileModelEditor(ITileController tileController,
                        IElementSourceProvider elementSourceProvider,
                        IElementSourceEditor elementSourceEditor,
                        IModelLoader modelLoader,
                        IObjectPool objectPool)
 {
     _tileController        = tileController;
     _elementSourceProvider = elementSourceProvider;
     _elementSourceEditor   = elementSourceEditor;
     _modelLoader           = modelLoader;
     _objectPool            = objectPool;
 }