Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide linkable Maps v1 library #14

Open
schildbach opened this issue Nov 15, 2016 · 3 comments
Open

Provide linkable Maps v1 library #14

schildbach opened this issue Nov 15, 2016 · 3 comments

Comments

@schildbach
Copy link

If I'm understanding right this library is a system library, so ROM builders/modders use it as a replacement for Google Maps v1.

I'd like to link the library into my app, so that it can access Google Maps on any device. So this is a feature request to make this possible.

@mar-v-in
Copy link
Member

mar-v-in commented Nov 15, 2016

The mapsv1-compat-osmdroid submodule is (supposed to be) an android library that can be used as a drop-in replacement for google maps v1 library. It does not use Google Maps but instead uses openstreetmap through osmdroid.

I just put a snapshot to the sonatype oss snapshot repository. Be aware that this is probably far from feature complete release quality, but you can still try it out: put maven { url "https://oss.sonatype.org/content/repositories/snapshots" } into your repositories and 'org.microg:mapsv1-compat-osmdroid:master-SNAPSHOT' as a dependency.

@schildbach
Copy link
Author

Thanks for that. I guess if it uses OSM there is again the problem of finding a tile provider who is willing to pay for the traffic (or host your own). I was searching for a solution that uses Google Maps.

@mar-v-in
Copy link
Member

Technically it should be possible (while not implemented in this library) to use the Google tiles if you still have a maps v1 api key. However I bet that their terms of service restrict usage of the tile servers as well, one of them very likely being "do not use third party software to access our servers".

microG Project intends to provide a tile server in the future (Q1-2 2017) that will be free of use for all usages of microG libraries and tools. Until then we have to rely on third party servers providing free services.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants