From af04cbe3592656cf6981232550a460f1b10e2560 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Wed, 31 Oct 2018 14:24:38 +0100 Subject: view: refactor generic parts of MapView into a TileView --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/index.ts') diff --git a/src/index.ts b/src/index.ts index 033e4ea..e21b006 100644 --- a/src/index.ts +++ b/src/index.ts @@ -18,7 +18,7 @@ window.onload = () => { const map = new MapState(mapData); const mapView = await loadMap(renderer, map); - mapView.draw(); + mapView.render(); }); xhr.open('GET', 'resources/map/test.json', true); -- cgit v1.2.3