tombatossals / angular-leaflet-directive

AngularJS directive to embed an interact with maps managed by Leaflet library
http://tombatossals.github.io/angular-leaflet-directive
MIT License
1.5k stars 635 forks source link

Infinite Digest when using filtered markers #1116

Open Lazymondaysunday opened 8 years ago

Lazymondaysunday commented 8 years ago

I'm not sure what I'm doing exactly that is causing this. But maybe someone can point me in the right direction. I have a unordered list of the markers and a map. And I'm adding some filters to that list, using this code.

`

`

And then my map I'm using the filteredMarkers to populate the markers.

<leaflet markers="filteredMarkers" center="center" defaults="defaults" layers="layers" class="col-md-9 map"></leaflet>

No matter what I remove, if leaflet has filteredMarkers it throws this infinite digest error. Any help would be appreciated!