mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-16 13:59:27 +02:00
Don't draw until we've set zoom/lat/long
This commit is contained in:
@@ -56,6 +56,7 @@ export function uiInit(context) {
|
||||
.call(uiFullScreen(context));
|
||||
|
||||
var map = context.map();
|
||||
map.redrawEnable(false); // don't draw until we've set zoom/lat/long
|
||||
|
||||
container
|
||||
.append('svg')
|
||||
@@ -218,6 +219,7 @@ export function uiInit(context) {
|
||||
// Setup map dimensions and move map to initial center/zoom.
|
||||
// This should happen after #content and toolbars exist.
|
||||
ui.onResize();
|
||||
map.redrawEnable(true);
|
||||
|
||||
var hash = behaviorHash(context);
|
||||
hash();
|
||||
|
||||
Reference in New Issue
Block a user