Skip to content

Commit c811f81

Browse files
committed
docs: add picture of layouts
1 parent f7b3524 commit c811f81

File tree

4 files changed

+4
-1
lines changed

4 files changed

+4
-1
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,9 +179,12 @@ const clusterLayer = new TeritorioCluster(id, sourceId, options)
179179
##### unfoldedClusterRender
180180
The following rendering function are at your disposal:
181181
- `unfoldedClusterRenderCircle`: Renders an unfolded cluster in a circular shape.
182+
![Circle layout](public/circle-layout.png)
182183
- `unfoldedClusterRenderHexaGrid`: Renders an unfolded cluster in a hexagonal grid spiral.
184+
![Hexagonal layout](public/hexagonal-layout.png)
183185
- `unfoldedClusterRenderGrid`: Renders an unfolded cluster in a square grid.
184-
- `unfoldedClusterRenderSmart` (default): Renders an unfolded cluster in a smart shape based on the number of items.
186+
![Grid layout](public/grid-layout.png)
187+
- `unfoldedClusterRenderSmart` (default): Renders an unfolded cluster in a smart shape (between circle and hexagonal) based on the number of items.
185188

186189
## Events
187190

public/circle-layout.png

5.93 KB
Loading

public/grid-layout.png

2.29 KB
Loading

public/hexagonal-layout.png

3.48 KB
Loading

0 commit comments

Comments
 (0)