Skip to content

Commit

Permalink
Merge branch 'hotfix-heatmap'
Browse files Browse the repository at this point in the history
  • Loading branch information
johnvanbreda committed Apr 20, 2020
2 parents 1c8f316 + 4ca21ae commit cb8d519
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/indicia.datacomponents/jquery.idc.leafletMap.js
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@
var count = indiciaFns.findValue(this, 'count');
var metric = Math.round((Math.sqrt(count) / maxMetric) * 20000);
if (typeof location !== 'undefined') {
addFeature(el, sourceSettings.id, location, metric);
addFeature(el, sourceSettings.id, location, null, metric);
}
});
}
Expand Down Expand Up @@ -323,7 +323,7 @@
coords = this.key.split(' ');
metric = Math.round((Math.sqrt(this.doc_count) / maxMetric) * 20000);
if (typeof location !== 'undefined') {
addFeature(el, sourceSettings.id, { lat: coords[1], lon: coords[0] }, metric, filterField, this.key);
addFeature(el, sourceSettings.id, { lat: coords[1], lon: coords[0] }, null, metric, filterField, this.key);
}
}
});
Expand Down

0 comments on commit cb8d519

Please sign in to comment.