No longer need to pass dimension to loadTiles

This commit is contained in:
Bryan Housel
2018-07-23 21:07:28 -04:00
parent 7312d7024b
commit 78fc2f7c27

View File

@@ -482,7 +482,7 @@ export function rendererMap(context) {
// OSM
if (map.editable() || map.noteEditable()) { // NOTE: when `map.noteEditable()` is removed, `redraw()` keep being called on timer
context.loadTiles(projection, dimensions);
context.loadTiles(projection);
drawVector(difference, extent);
}
else {