-
Notifications
You must be signed in to change notification settings - Fork 818
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not working normaly with ng2-bootstrap tabs!? #976
Labels
Comments
I managed to resolve part of the issue with the help of the triggerResize() function. So know the map appears but it still looks like in the 2nd picture, which means that it is not centralized (normally I would have to see the red dot marking) Does anybody have a solution for this? pretty please :P |
@Zoly90 See this answer: #789 (comment) |
franknwankwo
pushed a commit
to caravancoop/angular2-google-maps
that referenced
this issue
Jun 7, 2017
When you call the triggerResize method of AgmMap, the map gets recentered automaticaly. Closes sebholstein#789 Closes sebholstein#976 BREAKING CHANGES Recentering of the map after a triggerResize call is now the default behavoir. You can create the previous behavoir with triggerResize(false).
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Issue description
Extremely strange, you will be able to see what I am talking about in the photos.
I have some tabs (from ng2-bootstrap), and after the page is loaded, I navigate to the one with "Localization" and I find just a blank grey window. Nothing happens if I zoom or try to move around the map. But, if I open "inspect", zoom in/out of the whole page, poof it appears but still it isn't centralized, it doesn't show the red dot as it should (like in the map outside the tab).
Same situation if I put the google map window in a modal (ng2-bootstrap)....
The text was updated successfully, but these errors were encountered: