This repository was archived by the owner on Nov 30, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Not working on angular modal #1932
Comments
Did you properly adjust the height of the map via css? |
Yes I did, but the map was just empty. @markmssd |
I'm using the library currently and noticed the map won't load with the latest lodash and angularJs.core, I had to install the angular-google-maps version 2.1.5 in order for the map to show up. I'm not sure if there's a way to use the latest version, could be changes in lodash and the angular library that's causing the map not to render? |
@jofftiquez, I don't know if you still have the problem but I had the same and I figured that I needed to set the ng-if to a property when the modal is shown. With that the map is displayed correctly. |
@moreaup Thanks for the tip! |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Uh oh!
There was an error while loading. Please reload this page.
Version
2.3.4
Steps to reproduce
Create a modal and put the
<ui-gmap-google-map center='map.center' zoom='map.zoom'></ui-gmap-google-map>
Expected Behavior
The map should be loaded on the canvas on modal.
Actual Behavior
It does not load.
But when I normally load it (not in the modal) it works
The text was updated successfully, but these errors were encountered: