Open source topographic maps for Android — the Android companion to OpenMaps for iOS.
Offline-capable OpenTopoMap / OpenStreetMap viewer with GPX import, waymarked hiking and cycling routes, nearby POI lookup and elevation profiles.
- Follow location on an OpenTopoMap or OpenStreetMap base layer
- Import and inspect GPX tracks, with elevation profile and waypoint list
- Waymarked Trails hiking and cycling overlays
- Nearby places from Wikipedia
- Offline tile cache, preloadable from a ZIP
Published on Google Play as com.immaginetdev.topos.
OpenMaps for Android is a fork of
Pygmalion69/OpenTopoMapViewer
by Serge Helfrich, licensed under the Apache License 2.0. Substantially all of
the application code comes from upstream and stays under that licence — see
LICENSE and NOTICE.
OpenMaps is not affiliated with, endorsed by, or supported by the OpenTopoMapViewer project.
As required by section 4(b) of the Apache License, these are the changes this
fork makes to the upstream work. Current base:
94209e1
(upstream 1.33.3):
| Change | Where |
|---|---|
applicationId set to com.immaginetdev.topos |
app/build.gradle |
app_name set to "OpenMaps" in all six locales |
app/src/main/res/values*/strings.xml |
| Launcher icon replaced with the OpenMaps mark | app/src/main/res/mipmap-*/ |
Upstream's google-services.json removed; the Play flavour now degrades instead of failing when it is absent, and the file is gitignored |
app/build.gradle, .gitignore |
CI triggers changed from master to main, so the inherited workflow actually runs |
.github/workflows/android.yml |
Release workflow made workflow_dispatch-only, and STORE_FILE pointed at the file the job actually writes |
.github/workflows/android-foss-release.yml |
Two missing Italian strings added (gpx_header, pref_gpx_track_color_title) |
app/src/main/res/values-it/strings.xml |
| Committed template for the gitignored AdMob resource file, which upstream leaves entirely undocumented | app/src/play/res/values/admob.xml.example |
MapFragment.java.orig, a merge artefact committed upstream by accident, deleted |
app/src/main/java/org/nitri/opentopo/ |
| Brand palette applied to both the View theme and the Compose theme, which declare the same colours separately | res/values/colors.xml, ui/theme/Color.kt |
| R8 and resource shrinking turned on, with keep rules for the Wikipedia DTOs — 19.2 MB APK down to 4.8 MB | app/build.gradle, app/proguard-rules.pro |
Bug fix: Nearby returned an empty list on a first ever visit, because the repository read its cache immediately after firing an async request and handed back a snapshot instead of Room's LiveData |
nearby/da/NearbyDao.kt, nearby/repo/, nearby/viewmodel/ |
Bug fix: wiki_base_url in Italian pointed at en.wikipedia.org while every other locale used its own edition |
app/src/main/res/values-it/strings.xml |
lifecycle-extensions dropped (unused, frozen since 2020); legacy-support-v4 narrowed to the localbroadcastmanager module it was there for |
app/build.gradle |
| Store assets replaced — upstream's were OpenTopoMap's. Screenshots captured from the signed release on an emulator, plus a feature graphic and listing text, in five locales | fastlane/metadata/android/ |
Nothing else is changed. The Java package and namespace remain
org.nitri.opentopo on purpose: renaming them would create a large, pointless
diff against upstream and make every future sync painful.
git remote add upstream https://github.com/Pygmalion69/OpenTopoMapViewer.git
git fetch upstream
git merge upstream/masterConflicts should only ever appear in the four places listed in the table above. When they do, keep ours.
The pre-2026 history of this repository — when it was published as "Topos",
based on upstream 1.13.3 — is preserved on the
legacy-topos-1.13.3 branch.
Requires JDK 17+ (JDK 21 recommended), Android SDK platform 37, and the Android SDK build-tools that match.
Two product flavours:
| Flavour | Contains | Use for |
|---|---|---|
foss |
no proprietary services, no ads, no analytics | GitHub / F-Droid builds, and all local development |
play |
AdMob, Google UMP consent, Firebase Analytics + Crashlytics | Google Play releases |
./gradlew assembleFossDebug # builds with no extra configuration
./gradlew assembleFossReleaseThe play flavour additionally needs your own
app/src/play/google-services.json for com.immaginetdev.topos. It is not in
this repository, and upstream's must not be reused: it belongs to a different
Firebase project and a different package name. Without it the build still
succeeds — Analytics and Crashlytics are simply left off, with a warning.
It also needs app/src/play/res/values/admob.xml, which app/.gitignore
excludes. That is upstream's convention and this fork keeps it: ad unit ids in a
public repository invite spoofing into the account that owns them, and a fork
must not inherit someone else's units. Copy the committed template and fill it
in:
cp app/src/play/res/values/admob.xml{.example,}Without it the play flavour fails — first at resource linking, then at Kotlin
compilation — because the manifest reads @string/admob_app_id and
MainActivity / GoogleMobileAdsConsentManager read ad_unit_id and
test_device_hashed_id. foss needs none of it.
Careful with test_device_hashed_id: upstream applies setTestDeviceIds() on
every build, release included, so a real device hash there serves that device
test ads instead of paying ones. Keep the all-zero hash in shipping builds and
put your device's hash in app/src/playDebug/res/values/admob.xml instead.
Release signing is read from the environment, never from the repo:
STORE_FILE, STORE_PASSWORD, KEY_ALIAS, KEY_PASSWORD.
The Play Store record for this app was created as com.immaginetdev.topos.
Google Play does not allow a package name to change, ever. Do not "fix" it to
match the org.nitri.opentopo namespace.
Apache License 2.0 — see LICENSE.
Map data and tiles carry their own terms and are not covered by that
licence: OpenStreetMap data © OpenStreetMap contributors (ODbL), OpenTopoMap
tiles © OpenTopoMap (CC-BY-SA 3.0), Waymarked Trails © Lonvia (CC-BY-SA). See
NOTICE.