Skip to content

Commit

Permalink
[Task] #77, animate markercluster, decrease cluster sensitivity
Browse files Browse the repository at this point in the history
  • Loading branch information
Type-Style committed Oct 15, 2024
1 parent 4e856a8 commit 94f16fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client/components/Map.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ function Map({ entries }: { entries: Models.IEntry[] }) {
})}
</LayersControl>

<MarkerClusterGroup disableClusteringAtZoom={15}>
<MarkerClusterGroup disableClusteringAtZoom={15} animateAddingMarkers={true} maxClusterRadius={45}>
{cleanEntries.map((entry) => {
const iconObj = getClassName(entry);
if (iconObj.className != "none") { return } // exclude start and end from being in cluster group;
Expand Down

0 comments on commit 94f16fc

Please sign in to comment.