If you have a usage question for a product built on MapLibre GL (such as our iOS or Android SDKs), please visit #maplibre-native
Slack channel at https://slack.openstreetmap.us/.
If you want to contribute code:
-
Please familiarize yourself with the install process.
-
Ensure that existing pull requests and issues don’t already cover your contribution or question.
-
Pull requests are gladly accepted. If there are any changes that developers using one of the GL SDKs should be aware of, please update the master section of the relevant changelog(s):
- Prefix your commit messages with the platform(s) your changes affect:
[ios]
or[macos]
.
Please note the special instructions for contributing new source code files, asset files, or user-facing strings to the iOS SDK or macOS SDK.
If you would like to change MapLibre GL Native in a substantial way, we recommend that you write a Design Proposal. Examples for substantial changes could be if you would like to split the mono-repo or if you would like to introduce shaders written in Metal.
The purpose of a Design Proposal is to collectively think through a problem before starting to implement a solution. Every implementation has advantages and disadvantages. We can discuss them in a Design Proposal, and once we reach an agreement, we follow the guidelines in the Design Proposal and work on the implementation.
The steps for a Design Proposal are the following:
- Copy the Design Proposal template in the
design-proposals/
folder. - Use a filename with the current date and a keyword, e.g.,
design-proposals/2022-09-15-metal.md
. - Fill out the template and submit a pull request.
- Discuss the details of your Design Proposal with the community in the pull request. Adjust where needed.
- Call a vote on the Design Proposal once discussions have settled. People in favor of your Design Proposal shall approve the pull request. People against your Design Proposal shall comment on the pull request with something like "Rejected".
- Give the community at least 72 hours to vote. If a majority of the people who voted accept your Proposal, it can be merged.