ng-repeat causing \"Error: 10 $digest() iterations reached. Aborting! when passing scope to leaflet directive

匿名 (未验证) 提交于 2019-12-03 01:19:01

问题:

Edited: After some advices i came back to old version of how i wanted handle angular and leaflet, link to fiddler but still is not working,

Explanation: It was working with angular-leaflet-directive, but this directive has very bad performance on firefox, to compare leaflet.js self is very good so i thought i will try to make some small directive on my own, maybe somebody has some advices what is wrong and how to fix it?

Link to fiddler:

fiddler

I try to pass result from ng-repeat to leaflet directive, but when i do it, angular start "Error: 10 $digest() iterations reached. Aborting!, there is no problem when i pass just data to directive. I tried few things but without result. I cannot even see markers. If the problem is in directive?

  
Name
{{ hf.properties.name }}{{ hf.geometry.coordinates }}
标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!