Files
comaps/3party/open-location-code/README.md
Konstantin Pastbin e3e4a1985a Organic Maps sources as of 02.04.2025 (fad26bbf22ac3da75e01e62aa01e5c8e11861005)
To expand with full Organic Maps and Maps.ME commits history run:
  git remote add om-historic [om-historic.git repo url]
  git fetch --tags om-historic
  git replace squashed-history historic-commits
2025-05-08 21:10:51 +07:00

37 lines
750 B
Markdown

# Open Location Code C++ API
This is the C++ implementation of the Open Location Code API.
# Usage
See openlocationcode_example.cc for how to use the library. To run the example, use:
```
bazel run openlocationcode_example
```
# Development
The library is built/tested using [Bazel](https://bazel.build). To build the library, use:
```
bazel build openlocationcode
```
To run the tests, use:
```
bazel test --test_output=all openlocationcode_test
```
The tests use the CSV files in the test_data folder. Make sure you copy this folder to the
root of your local workspace.
# Formatting
Code must be formatted using `clang-format`, and this will be checked in the
tests. You can format your code using the script:
```
sh clang_check.sh
```