Skip to content

Commit

Permalink
Improves set radius
Browse files Browse the repository at this point in the history
  • Loading branch information
JacobWeinbren committed Jan 25, 2024
1 parent 15c6cf1 commit 0277f96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion site/src/components/Map.astro
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
}
return getColor(d);
},
getRadius: (d) => (hoveredObject === d ? 1200 : 500),
getRadius: (d) => (hoveredObject === d ? 700 : 500),
pickable: true,
onHover: ({ object }) => {
const newLayers = [createScatterplotLayer(object, pointsData)];
Expand Down

0 comments on commit 0277f96

Please sign in to comment.