Skip to content

Commit

Permalink
feat(@dpc-sdp/ripple-ui-maps): add map stories to demonstrate cluster…
Browse files Browse the repository at this point in the history
…ing distance (nearer/disabled)
  • Loading branch information
bgilhome-now committed Aug 13, 2024
1 parent ed81faa commit ad297e4
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions packages/ripple-ui-maps/src/components/map/RplMap.stories.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -139,4 +139,26 @@ export const Template = (args) => ({
>
{Template.bind()}
</Story>
<Story
name='Clustering Nearer'
args={{
id: '123',
features:featureData,
provider: 'mapbox',
clusteringDistance: 25
}}
>
{Template.bind()}
</Story>
<Story
name='Clustering Disabled'
args={{
id: '123',
features:featureData,
provider: 'mapbox',
clusteringDistance: 0
}}
>
{Template.bind()}
</Story>
</Canvas>

0 comments on commit ad297e4

Please sign in to comment.