Set bbox when creating map

pull/147/head
Candid Dauth 2021-04-13 15:21:18 +02:00
rodzic 27717e3fc2
commit 4a55d37f79
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -37,7 +37,7 @@ export default class BboxHandler extends Handler {
}
handleEmitResolve: EventHandler<ClientEvents, "emitResolve"> = (name, data) => {
if (["setPadId", "setRoute"].includes(name)) {
if (["createPad", "setPadId", "setRoute"].includes(name)) {
this.updateBbox();
}
}