Skip to content

Commit 079aeb8

Browse files
committed
#51 can't calculate hidden width/height so run zoomToExtent when toggleAndLoadMap
Signed-off-by: Taro Matsuzawa <[email protected]>
1 parent 0d700a0 commit 079aeb8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/components/gtt-client.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1180,6 +1180,7 @@ export class GttClient {
11801180
this.maps.forEach(function (m) {
11811181
m.updateSize()
11821182
})
1183+
this.zoomToExtent()
11831184
}
11841185

11851186

0 commit comments

Comments
 (0)