Contributing to ArcGIS Viewer for Flex HeatMap Widget
March 21, 2013 ยท View on GitHub
There are many ways you can contribute to the ArcGIS Viewer for Flex HeatMap Widget.
- Be active on the forum.
- Create and share your own (custom version) of the widget.
- Contribute to the ArcGIS Viewer for Flex HeatMap Widget source code.
This guide describes how you can contribute improvements to the ArcGIS Viewer for Flex HeatMap Widget source code.
The ArcGIS Viewer for Flex HeatMap Widget is a sample widget that was originally built by Lloyd Heberlie at Esri and has had many contributions from the Flex Team at Esri. We are excited that you are interested in improving the HeatMap Widget source code. This guide will help make sure your contribution (pull request) will be accepted and easily merged.
- Make sure you have a GitHub account.
- Fork the HeatMap Widget repo on GitHub.
- Clone it to your local machine.
- Checkout the develop branch.
- Create a new feature branch on your local machine.
- The name of the branch doesn't matter, but as a best practice use a descriptive name like "add-min-max-scale-to-layer".
- Write code to add an enhancement or fix the problem.
- Follow the coding conventions already used in the HeatMap Widget source code (spaces instead of tabs, proper indentation, use Flex Formatter along with our Flex Formatter settings).
- Document your code.
- Make commits of logical units.
- Use clear and descriptive commit messages.
- Test your code.
Submitting changes
- Read the License section below
- Push the changes in your feature branch to your repo.
- Submit a pull request against the "develop" branch. Submitting a pull request will open a GitHub issue.
- Clearly describe the issue including steps to reproduce; or if an enhancement, indicate the functionality you built.
License
By contributing your code, you agree to license your contribution under the terms of the Apache License 2.0. See item 5 of the Apache License 2.0 for more details.