Skip to content
This repository has been archived by the owner on May 25, 2019. It is now read-only.

showing ui-map in angular-modal-service shows error #52

Closed
nabinkumarn opened this issue Feb 28, 2016 · 3 comments
Closed

showing ui-map in angular-modal-service shows error #52

nabinkumarn opened this issue Feb 28, 2016 · 3 comments

Comments

@nabinkumarn
Copy link

I implemented the ui-map successfully in separate page but now I am implementing it in modal. Map is not shown and when I drag map area this error is shown. Uncaught TypeError: Cannot read property 'x' of undefined. When I click the map area, I get this error. Uncaught RangeError: Maximum call stack size exceeded. The same code was running when using without the modal. I am stuck. Has anyone the solution?

@BrokenHip
Copy link

Did you find a solution for this?

@nabinkumarn
Copy link
Author

No and I switched to angular google maps

@BrokenHip
Copy link

I actually found the solution. By putting the map in an ng-if and only loading it after the modal is loaded everything works fine.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants