More work with unify, circle/square

This commit is contained in:
vjrj 2018-09-11 11:40:17 +02:00
parent c4b2f8cd73
commit a208eb7ea1
6 changed files with 182 additions and 58 deletions

View file

@ -35,9 +35,8 @@ Meteor.startup(() => {
const noNoisy = sub => sub;
const process = (isPublic) => {
const group = new L.FeatureGroup();
const subscribers = Subscriptions.find().fetch();
const result = calcUnion(subscribers, group, isPublic ? addNoisy : noNoisy);
const result = calcUnion(L, subscribers, isPublic ? addNoisy : noNoisy, true);
const union = result[0];
const bounds = result[1];