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

Fix bug where radius, blur, and max were not being used when passed i… #21

Merged
merged 2 commits into from
Oct 19, 2017

Conversation

fcwheat
Copy link
Contributor

@fcwheat fcwheat commented Oct 8, 2017

…n as props. Fixes issue #17.

Additionally, I updated the example file to include sliders for modifying the radius, blur, and max value. This gives users the ability to see how updating these values impacts the heatmap.

  • Updated the CHANGELOG
  • Incremented the version #
  • Ensured eslint passed

Copy link
Member

@jeremiahrhall jeremiahrhall left a comment

Choose a reason for hiding this comment

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

One request in the example. Otherwise the code looks good. I'll give it a spin after your next update and hopefully get this merged. Thanks for this 👍

example/index.js Outdated
this.setState({ addressPoints: addressPoints.slice(500, 1000) });
}, 5000);
}

Copy link
Member

Choose a reason for hiding this comment

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

This was here to test the behavior of refocusing/zooming the map when the points change. Can you maybe add a separate control to toggle between two sets of data or put this back?

@fcwheat
Copy link
Contributor Author

fcwheat commented Oct 16, 2017

Updated to include a toggle to limit the data points within the example.

@jeremiahrhall
Copy link
Member

@fcwheat Thank you for your patience and for your work. This is great! 👍

@jeremiahrhall jeremiahrhall merged commit 731e86e into OpenGov:master Oct 19, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants