You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have that problem too. However, it can be work around by dispatch 'resize' event after hidden element is visible.
setTimeout(function(){
window.dispatchEvent(new Event("resize"));
}, 1);
SebmGoogleMap now supports triggering resize events
on the google map instance. This is usefull when you intially
hide the map (for example in a tab) and then want to show
the map:
```
<div [hidden]="!showMap">
<sebm-google-map #myMap></sebm-google-map>
</div>
<button (click)="showMap = true; myMap.triggerResize()">resize</button>
```
Closes#166
There's no way to rezize the map, for example if I load map into hidden tab. In that case map will be not shown at all, it needs to be resized.
The text was updated successfully, but these errors were encountered: