Merge pull request #10858 from ejn/overlay-autopan-on-set-map-10843

Perform auto-pan when adding an Overlay to a Map
This commit is contained in:
Andreas Hocevar
2020-04-01 08:13:56 +02:00
committed by GitHub

View File

@@ -300,6 +300,7 @@ class Overlay extends BaseObject {
} else {
container.appendChild(this.element);
}
this.performAutoPan();
}
}