Skip to content

Commit

Permalink
Atlas #4 - Adding example to LocationMarkers.stories with no zoom ani…
Browse files Browse the repository at this point in the history
…mation
  • Loading branch information
dleadbetter committed Apr 3, 2024
1 parent e68a140 commit f6ee170
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions packages/storybook/src/geospatial/LocationMarkers.stories.js
Original file line number Diff line number Diff line change
Expand Up @@ -128,3 +128,36 @@ export const MultiplePoints = () => (
</Map>
</Peripleo>
);

export const NoZoom = () => (
<Peripleo>
<Map
style={mapStyle}
>
<Controls
position='topright'
>
<Zoom />
</Controls>
<div
style={{
width: '100%',
height: '300px'
}}
>
<LocationMarkers
boundingBoxOptions={{
animate: false
}}
data={{
type: 'Point',
coordinates: [
-81.2653727,
31.4252249
]
}}
/>
</div>
</Map>
</Peripleo>
);

0 comments on commit f6ee170

Please sign in to comment.