-
Notifications
You must be signed in to change notification settings - Fork 635
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
obtainEffectiveMapId error #471
Comments
You're totally right @porjo, I have fixed it and added your example to the "examples" folder: http://tombatossals.github.io/angular-leaflet-directive/examples/double-map-toggle-example.html Thanks for reporting |
@tombatossals I'm now seeing a different error (firefox):
And one of the 2 maps fails to display (I see a grey background where the map would be). This seems to only occur after you've toggled 2 or 3 times. Your example page exhibits the same error. |
This was another bug related with the map destroy event, every "ng-if" change the map is destroyed and the map objects were not managed correctly, now is solved. Thanks |
I'm getting the following error when switching between 2 controllers which display different maps:
I've replicated the issue here:
http://jsfiddle.net/e02vt8q3/2/
The text was updated successfully, but these errors were encountered: