Skip to content
This repository was archived by the owner on Jun 23, 2025. It is now read-only.

Conversation

@sebholstein
Copy link
Owner

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

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
@sebholstein
Copy link
Owner Author

@a2gm-bot please merge

@a2gm-bot
Copy link
Collaborator

a2gm-bot commented Mar 5, 2016

@SebastianM
🎉🎉🎉 ✅ PR #188 merged! Landed as: b27ae46
🎉🎉🎉

@a2gm-bot a2gm-bot closed this in b27ae46 Mar 5, 2016
@sebholstein sebholstein deleted the resize-trigger branch March 5, 2016 19:12
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants