kopia lustrzana https://github.com/FacilMap/facilmap
Set bbox when creating map
rodzic
27717e3fc2
commit
4a55d37f79
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue