Skip to content

Commit

Permalink
attempted clustering
Browse files Browse the repository at this point in the history
  • Loading branch information
davidsklar99 committed Dec 12, 2024
1 parent 89bea80 commit 79304e0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pages/dev/test-site/explore/+Page.client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,9 @@ function weaverStyle(type: object) {
weaver: {
type: "vector",
tiles: [ tileserverDomain + "/checkins/tiles/{z}/{x}/{y}"],
cluster: true,
clusterMaxZoom: 14,
clusterRadius: 50,
},
},
layers: [
Expand Down Expand Up @@ -91,7 +94,7 @@ function weaverStyle(type: object) {
20,
],
"circle-color": color,
"circle-opacity": 0.8,
"circle-opacity": .8,
"circle-stroke-width": 0.5,
"circle-stroke-color": color,
},
Expand Down

0 comments on commit 79304e0

Please sign in to comment.