Skip to content

Latest commit

 

History

History
72 lines (48 loc) · 2.33 KB

CONTRIBUTING.md

File metadata and controls

72 lines (48 loc) · 2.33 KB

Contributing

Thank you for considering contributing to MapTiler Geocoding Control package. It's people like you that make it to great tool.

Where do I go from here?

If you've noticed a bug or have a feature request, make one! It's generally best if you get confirmation of your bug or approval for your feature request this way before starting to code.

If you have a general question about MapTiler Geocoding Control, you can reach out to the MapTiler documentation portal or contact our support, the issue tracker is only for bugs and feature requests.

Fork & create a branch

If this is something you think you can fix, then create the fork and create a branch with a descriptive name.

A good branch name would be (where issue #325 is the ticket you're working on):

git checkout -b 325-add-poi-filter

Get the test suite running

Make sure you're using a recent version of NodeJS.

Install the development dependencies:

npm install

Then run the development mode, make sure, you export the MapTiler Key as environment variable

VITE_API_KEY=YOUR_MAPTILER_API_KEY_HERE npm run dev

Implement your fix or feature

At this point, you're ready to make your changes! Feel free to ask for help; everyone is a beginner at first 😸

Make a Pull Request

At this point, you should switch back to your master branch and make sure it's up to date with MapTiler Geocoding Control main branch:

git remote add upstream [email protected]:maptiler/maptiler-geocoding-control.git
git checkout main
git pull upstream main

Then update your feature branch from your local copy of master, and push it!

git checkout 325-add-poi-filter
git rebase main
git push --set-upstream origin 325-add-poi-filter

Finally, go to GitHub and make a Pull Request

Final word

Thank you one more time for your contribution. We try to deliver best user experience of geocoding, your contribution will make better experience to all users!