microg / microg/GmsCore

Maps: local file vector map provider

Open
#150 22 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

confirmed enhancement
Dominant language
Java
Stars
14.6k
Forks
3.2k
Avg merge
12d 11h
Merged PRs (30d)
4

Description

There are some local OSM vector tile renderer/provider that are used in some open source apps.

Maybe this can be implemented as an alternative backend.

I looked into the code a bit, and it seems that currently the
https://github.com/microg/android_packages_apps_GmsCore/blob/master/play-services-core/src/main/java/org/microg/gms/maps/BackendMapView.java

uses OSciMap4TileSource and OpenScieneMaps also seems to provide other Sources like MapFileTileSource. Maybe it is reasonably easy to point microg to a file on sdcard or storage to use instead of the online map. - The locations could/should probably be settable in the microG Settings App.

I might have a look when I have the time.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with play-services-core/src/main/java/org/microg/gms/maps/BackendMapView.java and review how it currently uses OSciMap4TileSource and the mentioned MapFileTileSource. Then inspect the microG Settings App entry points for configurable map locations. Done means defining and implementing a local vector map provider as an alternative backend with a configurable file location.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
mobile
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.