summaryrefslogtreecommitdiffstats
path: root/src/index.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/index.ts')
-rw-r--r--src/index.ts2
1 files changed, 1 insertions, 1 deletions
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);