More work with unify, circle/square
This commit is contained in:
parent
c4b2f8cd73
commit
a208eb7ea1
6 changed files with 182 additions and 58 deletions
|
|
@ -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];
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue