cms/app-client/app/components/visu-carto.js
changeset 91 acfeddc7821d
parent 84 36f84e8f1ad5
child 92 3437f5191645
equal deleted inserted replaced
90:f0609941aa98 91:acfeddc7821d
   112     var _this = this;
   112     var _this = this;
   113 
   113 
   114     var areaList = [];
   114     var areaList = [];
   115     var count = {};
   115     var count = {};
   116     area.svg.g.path.map(function(elt, index){
   116     area.svg.g.path.map(function(elt, index){
   117       var length = _this.get("sounds").filterBy("spatial", elt.title).toArray().length;
   117       var length = _this.get("documents").filterBy("spatial", elt.title).toArray().length;
   118       if (length > 0)
   118       if (length > 0)
   119         count[elt.id]= length;
   119         count[elt.id]= length;
   120     });
   120     });
   121     area.svg.g.path.map(function(elt, index){
   121     area.svg.g.path.map(function(elt, index){
   122 
   122