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
{{ message }}
This repository was archived by the owner on Nov 30, 2018. It is now read-only.
Hey, I ran into an issue where angular-google-maps would not display maps correctly in ionic modals.
I created a little sample repo to describe and reproduce this issue. It basically has a tab with a google map that on load displays the map centered correctly. It also provides a possibility to show a modal overlaid on the same page which has the same map, but moves the same center/location to the top left.
The app basically just consists of one tab whose controller is serving the static centerlocation to both the map on the tab view and the modal. Does anybody have an idea what could create this behavior?
Ok got it. I updated the code to use a control and refresh it when the modal gets shown. This works so far for me and was totally already in the api doc.
Hey, I ran into an issue where angular-google-maps would not display maps correctly in ionic modals.
I created a little sample repo to describe and reproduce this issue. It basically has a tab with a google map that on load displays the map centered correctly. It also provides a possibility to show a modal overlaid on the same page which has the same map, but moves the same center/location to the top left.
The app basically just consists of one tab whose controller is serving the static centerlocation to both the map on the tab view and the modal. Does anybody have an idea what could create this behavior?
controller
tab
modal
Here are two images showcasing the shift of the center:
The text was updated successfully, but these errors were encountered: