💾Contributing
Compass is open to contributions, if there is a bug or feature. Feel free to open up a PR or an issue.
Please make every effort to follow existing conventions and style in order to keep the code as readable as possible.
Contribute code changes through GitHub by forking the repository and sending a pull request. We squash all pull requests on merge.
If you add, remove, or change public objects, make sure you update the binary-compatibility definitions by running the following command:
./gradlew apiDumpThen commit and push the changed files.
Custom Geocoder API
Compass includes a template module: compass-geocoder-web-template
If there is a Geocoding Web API that you would wish to add to Compass, follow these steps:
Clone the repo:
git clone [email protected]:jordond/compassMake a copy of the
compass-geocoder-web-templatemoduleRename the copy to match the web service you're adding:
ex:
compass-geocoder-web-myapi
Search for the word "Template" in the module and replace it with your service name
Implement the
HttpApiPlatformGeocoderinterfaceCustomize the URL, query parameters, and the response models
Implement the
ForwardEndpointandReverseEndpointFinish the implementation
Run
./gradlew apiDumpand commit the changesPush & open a Pull Request
Last updated
Was this helpful?