-
Notifications
You must be signed in to change notification settings - Fork 1
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
Conversation
There was a problem hiding this 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 |
There was a problem hiding this comment.
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.
Closing and reopening to get GitHub to recalculate the file differences to |
In this PR
Addresses Issue #259 by adding an optional
buffer
prop to thecore-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.