Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added buffer prop to placemarker #263

Closed
wants to merge 14 commits into from
Closed

Added buffer prop to placemarker #263

wants to merge 14 commits into from

Conversation

ajolipa
Copy link
Contributor

@ajolipa ajolipa commented Mar 8, 2024

In this PR

Addresses Issue #259 by adding an optional buffer prop to the core-data/PlaceMarker component allowing the user to set the buffer in miles around the GEOJson data. Also adds a new Story showing an example with a 20 mile buffer.
image

@ajolipa ajolipa requested a review from dleadbetter March 8, 2024 19:25
Copy link
Collaborator

@dleadbetter dleadbetter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, just one nit-picky comment. Also, could you connect this PR to the issue it resolves and attach the "next release" label?

/**
* The number of miles to buffer the GeoJSON data. (Defaults to 2.)
*/
buffer?: number
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's keep the props in alphabetical order.

@ajolipa ajolipa added the v2.1.0 Issues in v2.1.0 label Mar 11, 2024
@ajolipa
Copy link
Contributor Author

ajolipa commented Mar 13, 2024

Closing and reopening to get GitHub to recalculate the file differences to master.

@ajolipa ajolipa closed this Mar 13, 2024
@ajolipa ajolipa deleted the RB-custom-buffer branch March 13, 2024 16:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
v2.1.0 Issues in v2.1.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Enhancement: Update PlaceMarker component to allow custom zoom/buffer
2 participants