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:
@@ -300,6 +300,7 @@ class Overlay extends BaseObject {
|
|||||||
} else {
|
} else {
|
||||||
container.appendChild(this.element);
|
container.appendChild(this.element);
|
||||||
}
|
}
|
||||||
|
this.performAutoPan();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user